0

Hi,

the nifi docs explain for the "Send Message Body" property

If true, sends the HTTP message body on POST/PUT/PATCH requests (default). If false, suppresses the message body and content-type header for these requests.

My problem: I have to request a rest api, that needed a json body in a GET method

Yes, it is untypically for a GET method to expect a body, but it is not forbidden. See HTTP GET with request body

I've tested it with postman echo server and it worked: enter image description here

But doing the same test with NiFi InvokeHTTP GET method ("Send Message Body=true"), the body isn't sent to the server (as the docs say): enter image description here

Do you know a solution, how I can configure InvokeHTTP, so that it sends the body to the server in a GET method?

Thanx Frank

0 Answers0