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

Add PATCH to the POST, PUT list #332

Merged
merged 1 commit into from
Feb 13, 2015
Merged

Add PATCH to the POST, PUT list #332

merged 1 commit into from
Feb 13, 2015

Conversation

akenger
Copy link
Contributor

@akenger akenger commented Feb 12, 2015

It would seem that a PATCH request should behave like a PUT and POST in how the parameters get mapped. I think typically, since you could be patching a large enough data set, the parameters wouldn't go in the URL but would be submitted as part of the request body. Rails form builders treat PATCH as a POST with a hidden parameter.

@iNecas
Copy link
Member

iNecas commented Feb 13, 2015

Thanks!

iNecas added a commit that referenced this pull request Feb 13, 2015
Add PATCH to the POST, PUT list
@iNecas iNecas merged commit 2c44503 into Apipie:master Feb 13, 2015
@iNecas
Copy link
Member

iNecas commented Mar 18, 2015

apipie-rails 0.3.2 with this fix was just release. Thanks @akenger for the contribution!

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.

2 participants