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

Return 201 status code when creating a JSON resource #1076

Merged

Conversation

fbjork
Copy link
Contributor

@fbjork fbjork commented Jul 31, 2015

Changes status code from 200 to 201 when creating a JSON resource.

josevalim added a commit that referenced this pull request Jul 31, 2015
Return 201 status code when creating a JSON resource
@josevalim josevalim merged commit 9631ff9 into phoenixframework:master Jul 31, 2015
@josevalim
Copy link
Member

❤️ 💚 💙 💛 💜

@denispeplin
Copy link
Contributor

@josevalim, should 201 also be applied to HTML resources?

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

Successfully merging this pull request may close these issues.

3 participants