[GH-ISSUE #1065] Add support for HTTP get method with request body #373

Closed
opened 2026-03-16 14:56:49 +03:00 by kerem · 2 comments
Owner

Originally created by @btpka3 on GitHub (Aug 10, 2020).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/1065

There some applications using HTTP get request with request body , such as elasticSearch Request Body Search

Please discuss to support this case or not. Postwoman at now is not support GET request with HTTP request body.

reference

Originally created by @btpka3 on GitHub (Aug 10, 2020). Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/1065 There some applications using HTTP get request with request body , such as elasticSearch [Request Body Search](https://www.elastic.co/guide/en/elasticsearch/reference/7.9/search-request-body.html) Please discuss to support this case or not. Postwoman at now is not support GET request with HTTP request body. reference - stackoverflow: [HTTP GET with request body](https://stackoverflow.com/questions/978061/http-get-with-request-body) - stackoverflow: [Is this statement correct? HTTP GET method always has no message body](https://stackoverflow.com/a/15656853/533317)
kerem 2026-03-16 14:56:49 +03:00
Author
Owner

@liyasthomas commented on GitHub (Aug 10, 2020):

We're using Axios for request transactions and I guess that's not possible with Axios. see https://github.com/axios/axios/issues/2400

And as mentioned in elasticSearch Request Body Search, we can use query parameters with GET request to send data as parameters. Kindly use Parameters section for that.

<!-- gh-comment-id:671404925 --> @liyasthomas commented on GitHub (Aug 10, 2020): We're using Axios for request transactions and I guess that's not possible with Axios. see https://github.com/axios/axios/issues/2400 And as mentioned in elasticSearch [Request Body Search](https://www.elastic.co/guide/en/elasticsearch/reference/7.9/search-request-body.html), we can use query parameters with `GET` request to send data as parameters. Kindly use Parameters section for that.
Author
Owner

@AndrewBastin commented on GitHub (Aug 10, 2020):

Well, we could implement it if needed. But it is not a supported behavior according to the HTTP spec. So we don't really want to support it in this app as well.

Here is the spec reference defining that https://tools.ietf.org/html/rfc7231#page-24

<!-- gh-comment-id:671418216 --> @AndrewBastin commented on GitHub (Aug 10, 2020): Well, we could implement it if needed. But it is not a supported behavior according to the HTTP spec. So we don't really want to support it in this app as well. Here is the spec reference defining that [https://tools.ietf.org/html/rfc7231#page-24](https://tools.ietf.org/html/rfc7231#page-24)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hoppscotch#373
No description provided.