Created 06-04-2020 01:55 AM
Hi @renuu
ListenHTTP also works same way -
Find below sample configuration and how to invoke using curl.
ListenHTTP listens on a specific port (in my case 8889) and a base path ('/curlRequestListener')
Using below curl command from terminal you can post data -
curl -d 'my request data' http://<nifihostname>:8889/curlRequestListener
'my request data' is the sample data which I am posting to the ListenHTTP processor and same is received in processors and queued as flowfile.
Received request Flowfile content -