Skip to content
This repository has been archived by the owner on Jul 24, 2022. It is now read-only.

Add Respond#created function #8

Open
russormes opened this issue Apr 6, 2018 · 0 comments
Open

Add Respond#created function #8

russormes opened this issue Apr 6, 2018 · 0 comments

Comments

@russormes
Copy link
Contributor

Add a response that if explicitly for responding to successful POST requests to collections. This response will set the location header to the path to the newly created resource and the HTTP verb to 201 Created.

A second, more generic approach is to allow the caller to pass some headers into the respond function.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant