-
Notifications
You must be signed in to change notification settings - Fork 41
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
cannot add query parameters to put request #30
Comments
you can use |
yes, that is a valid wordaround for it, I think that was what I used, but it is will a bug isn't? |
I think you can have a body for put() (same as for post()), where the params go automatically (but I don't know if that is true. For get() you surely have no request body, so params go auto to the queryString of url.). |
I'm not sure. Having query-params in URL of POST or PUT request can be useful, but AFAIK there are backend stacks which don't support it. At least for Does anybody know facts about this? |
After some quick reading, it does not seem to break any RFC and I agree with what one said: "The difference between /user/john and /?user=john is merely a semantic one". https://stackoverflow.com/questions/611906/http-post-with-url-query-parameters-good-idea-or-not |
When you use put(), calls to param() are ignored.
The text was updated successfully, but these errors were encountered: