Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Invoke HTTP Processor in Localhost

avatar
New Contributor

I'm totally new to NiFi and learning as I go, but am against a hard deadline and need urgent assistance. I was tasked to connect a running system in my local to the Invoke HTTP processor and get the data from that database. How can I get the URL path from the other container so I can input it on the Remote URL field inside the Invoke HTTP processor? 

1 REPLY 1

avatar
Super Guru

@georg ,

 

There's not much info in your description for me to give you a precise answer.

But, given you mentioned "container", I'm assuming that the other system is running on a Docker container in the same host as NiFi is running.

 

If that's the case, you can use "docker inspect" to find out what the exposed port of the container is and then your URL will be something like either "http://localhost:<port>" or "http://host.example.com:<port>". If TLS is being used, replace "http" with "https".

 

I hope this helps. If not, please provide more details information about the components you're talking about.

 

Cheers,

André

 

--
Was your question answered? Please take some time to click on "Accept as Solution" below this post.
If you find a reply useful, say thanks by clicking on the thumbs up button.