This is the error I get when I invoke a function which uses the axios package.
This happens often locally but I thought in production it will be fine, but it wasn’t.
Am I missing something, maybe the version?
Please help me out here.
Thanks in advance.
You can’t use Axios (or any other http request package) in Frontend or Serverless Apps. You have to use the Request API to make external calls.
Thank you for the response, Rob.
But in some cases, we need to upload a file and all, right?
Does our request methods support form data?