Using Curl for example, I can "post" data (send an entity-body) in a GET request. Is this a valid thing to do? With that I mean:
- Is it not forbidden by any RFC specification?
- Does someone out there use it with good reason?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
See RFC2616 – Hypertext Transfer Protocol — HTTP/1.1, section 4.3 “Message Body”:
In section 9.3 “GET” including an entity-body is not forbidden.
So, yes, you are allowed to send an entity-body with a HTTP GET request.