Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support API Gateway user-defined responses #15

Closed
mweagle opened this issue Aug 29, 2016 · 2 comments
Closed

Support API Gateway user-defined responses #15

mweagle opened this issue Aug 29, 2016 · 2 comments

Comments

@mweagle
Copy link
Owner

mweagle commented Aug 29, 2016

When I POST a new resource to the API, I want to return a 201 (Created) status and the URL of the created resource in an HTTP header, "Location".

I'm having problems getting Location to come back to the client.

I have tried manually setting up Location as a header in the "Method Response" config of API Gateway and then creating a mapping in the "Integration Response" mapping.

@mweagle
Copy link
Owner Author

mweagle commented Sep 1, 2016

Will be addressed in 0.9.0.

@mweagle
Copy link
Owner Author

mweagle commented Sep 8, 2016

Resolved by 5c8ccb4.

Closing.

@mweagle mweagle closed this as completed Sep 8, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant