Tuesday, May 28, 2019

Changing the AWS API Gateway Response Status Code in SAM

When creating an API with AWS Lambda and API Gateway, I discovered that a client request to a given resource with a verb that wasn't supported resulted in an unexpected response.

You can see this from this curl command to the /test resource which is only defined for GET:



from DZone.com Feed http://bit.ly/2YQYovm

No comments:

Post a Comment