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 message-body in get requests #1912

Closed
wants to merge 2 commits into from
Closed

support message-body in get requests #1912

wants to merge 2 commits into from

Conversation

jochen42
Copy link

@jochen42 jochen42 commented Dec 6, 2018

rfc7231 does not forbit sending payload with GET-Requests. In several cases this is needed because of the size-restriction on GET-Parameters.

fixes #787

jochen42 and others added 2 commits December 6, 2018 12:18
rfc7231 does not forbit sending payload with GET-Requests.
@lean1024
Copy link

lean1024 commented Apr 25, 2019 via email

@afwn90cj93201nixr2e1re
Copy link

https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/send @jochen42
If the request method is GET or HEAD, the body parameter is ignored and the request body is set to null.
Did you check is it work?

@lean1024
Copy link

lean1024 commented Apr 25, 2019 via email

@jochen42
Copy link
Author

https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/send @jochen42
If the request method is GET or HEAD, the body parameter is ignored and the request body is set to null.
Did you check is it work?

@afwn90cj93201nixr2e1re: no i did not tested it in mozilla/firefox. only chrome. (we had an heterogene environment in the project - only chrome/chromium as browser). but i think if mozilla documents it like this, a merge doesn't make sense, because of compatibility.

feel free to cancel/decline the pr.

@jochen42 jochen42 closed this Jun 7, 2019
@axios axios locked and limited conversation to collaborators May 3, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

GET request does not send data (JSON).
3 participants