Search code examples
amazon-web-servicesaws-lambdaaxiosalexa-skills-kit

How can I use axios in lambda?


Do I have to install the axios module locally and then deploy it to lambda or is there a way to do it through the inline code editor as well in the browser?


Solution

  • Lambda doesn't actually bundle your package dependencies for you, except the AWS package, so yes you'd need to install it locally, zip it together and upload to the Lambda console.