Chekkan's Blog
Subscribe
Tagged

node-js

A collection of 1 post

Access response headers in HTTP Fetch API with Serverless Framework and AWS Lambda
aws

Access response headers in HTTP Fetch API with Serverless Framework and AWS Lambda

In order to access response headers such as Location in HTTP Fetch api whilst using Serverless Framework and AWS Lambda Functions with CORS enabled, you need to do the following. Make sure cors is set to true on serverless.yml postUsers: handler: handler.postUsers events: - http: path: users method:

  • Harish Hareendra Babu
Harish Hareendra Babu Nov 30, 2017 • 1 min read
Chekkan's Blog © 2022
Powered by Ghost