Skip to main content
Phildo
Gold ⭐️
Mar 31, 2021 1:42 PM UTC
Solved

How to replicate a simple Curl command with InvokeHTTP in NIFI ?

Hi all,

I just discover NIFI few weeks ago and I tried to replicate a simple curl command with the processor InvokeHTTP :

 

 

 

I tried this curl command in the VM where my NIFI server is installed and it works well, I received all the needed information.

 

So what I did in the invokeHTTP processor is the folowing:

 

in properties

1) HTTP Method =GET

2) Remote URL = "URL used in the curl command"

then I added a new property

 

Authorisation = my_login:token

 

But the processor stay invalid.

 

I know that there is plenty of other properties and settings but I'am a little bit lost, if someone can help me it will be great

Thanks

 

 

Phildo
PhildoAnswer
Gold ⭐️
Mar 31, 2021 2:00 PM UTC

Sorry for this post I just found that when you put your mouse on the invalid icon the list of inappropriate settings is displayed .. just fixed it and now my InvokeHTTP is running

1 reply

Phildo
PhildoAuthorAnswer
Gold ⭐️
Mar 31, 2021 2:00 PM UTC

Sorry for this post I just found that when you put your mouse on the invalid icon the list of inappropriate settings is displayed .. just fixed it and now my InvokeHTTP is running

Translate