Skip to main content

All Questions

0 votes
1 answer
1k views

Invoke Lambda docker container locally by passing API Gateway like event object

I am trying out the newly added container image support for AWS Lambda service. I have built a custom image using python-alpine as the base image. I have used the same Dockerfile mentioned in the ...
Kaustubh Desai's user avatar
1 vote
1 answer
1k views

Send custom error message, with serverless-http (express)

I need to send custom error message in JSON format, from my express app, served in a lambda function using serverless-http Please correct me if i got it wrong, but as i understand it, we need to use ...
Theo's user avatar
  • 2,042
0 votes
1 answer
2k views

Issue CORS preflight request with credentials

I am using serverless yml template to deploy my functions to aws. The following snippet show the configuration for one of the endpoints, functions: publish: handler: lambda.publish events: ...
Mah3ndra's user avatar
9 votes
5 answers
18k views

Serverless AWS Lambda CORS Error

I am trying to do an http request from an angularjs app to a lambda function that I had setup using serverless. Here is my serverless.yaml function functions: createcustomer: handler: handler....
Shadow1349's user avatar