# Http GET with body doesn't work

**URL:** <https://discourse.nodered.org/t/http-get-with-body-doesnt-work/7268>\
**Category:** General\
**Created:** [26 January 2019 14:52 UTC](https://discourse.nodered.org/t/http-get-with-body-doesnt-work/7268 "2019-01-26T14:52:21Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![uwaechte](https://avatars.discourse-cdn.com/v4/letter/u/77aa72/32.png) [@uwaechte](https://discourse.nodered.org/u/uwaechte)\
**Post date:** [26 January 2019 14:52 UTC](https://discourse.nodered.org/t/http-get-with-body-doesnt-work/7268/1 "2019-01-26T14:52:21Z")

</div>

Hi,  
I want to query a webserver to get a json file.  
For that I have to request the webserver via http GET method and the json query string has to be in the body. It work perfect when I use postman, but I try to use www request, http request but it doesn't work.  
Wireshark showing me that the body isn't send to the webserver.  
Like in the node description I put the body in the msg.payload.  
Has somebody an idea how I get it running

best regards  
Uwe

---

<div class="post-metadata">

**Author:** ![uwaechte](https://avatars.discourse-cdn.com/v4/letter/u/77aa72/32.png) [@uwaechte](https://discourse.nodered.org/u/uwaechte)\
**Post date:** [26 January 2019 15:03 UTC](https://discourse.nodered.org/t/http-get-with-body-doesnt-work/7268/2 "2019-01-26T15:03:57Z")

</div>

solved it. It was a little bit confusin. It was called a get in the development console from elastic but in real it was a the http post method. With post it works.

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [26 January 2019 15:07 UTC](https://discourse.nodered.org/t/http-get-with-body-doesnt-work/7268/3 "2019-01-26T15:07:45Z")

</div>

GET only uses the URL with query parameters. Anything with a body will be something else.

---

<div class="post-metadata">

**Author:** ![godofglow](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/godofglow/32/18677_2.png) [@godofglow](https://discourse.nodered.org/u/godofglow)\
**Post date:** [30 March 2020 05:11 UTC](https://discourse.nodered.org/t/http-get-with-body-doesnt-work/7268/4 "2020-03-30T05:11:46Z")

</div>

WTF - I spend 4 hours for debugging 😃  
THX
