Http GET with body doesn't work

#1

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

0 Likes

#2

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.

0 Likes

#3

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

0 Likes