Support Questions

Find answers, ask questions, and share your expertise

Apache NIFI

avatar
New Contributor

I want to pass URLs dynamically in Invoke HTTP processor and fetch the content from URLs and store that locally into Json format using Put File processor

1 REPLY 1

avatar
Super Guru

Hi @ShaniKumar ,

Can you please identify clearly with the issue is to help you better?

Basically the InvokeHTTP processors allows you to use dynamic invocation using Nifi Expression Language (EL). You can set a flowfile attribute with the intended url before  calling the InvokeHttp processor , for example: you can use UpdateAttribute to set the url to attribute name "UrlAttr" and then reference this attribute in the InvokeHttp "Remote URL" property value as ${UrlAttr}. Other InvokeHttp properties allows to use EL to set the value dynamically and so on as long as the property allows it.

Hope that helps.

Thanks