I am trying to setup an InvokeHTTP processor to run below curl command. I have tried many approaches and I am thinking this setup should work, but my flowfile keeps routing to no retry. Can you please help identify what I might me missing here.
curl --location --request POST "https://api.uhooinc.com/v1/getlatestdata" --data "email@example.com&password=04db2afe736389fb116bc0dd5fc99b983a0f5232cffda13c8b0180a8e576518b&serialNumber=49ff72067580485656381667"
I first setup a GenerateFlowFile to put the content of data into the flowfile content as custom text, because I understood that InvokeHTTP with post the content of the flowfile as data.
Then I setup InvokeHTTP as below:
However, this is not working as the flowfile routes to no retry.
The other way I tried was to use an updateattribute processor to set a variable and setup InvokeHTTP to use the variable in Attributes to Send.