Support Questions

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


New Contributor

what will be the basic authentication oser name & password for Invoke HTTP Post json in NiFi?? I want to connect this with Power BI app, so added API Url of Power BI app dataset.


Super Mentor


The InvokeHTTP processor supports HTTP methods for connecting to a target server.  The InvokeHTTP processor does not establish a listener for inbound http connections.

The properties for Basic Authentication Username and Password on this processor are used when the target endpoint supports basic auth and the username and password would need to provided by that target endpoint.  If basic auth is not supported by target endpoint, TLS is also supported.

If you want to setup a listener in NiFi for inbound HTTP you would use either ListenHTTP processor or the newer HandleHttpRequest/HandleHttpResponse processors.   NiFi processors do not support basic auth for inbound connections.  So to connect with these processors the source systems would need to pass a client/user certificate in a mutual TLS handshake as a way to identify the client.  This means the processor would need to have a StandardRestrictedSSLContextService controller service that is configured with a keystore (containing a serverAuth certificate the client system can trust) and truststore (containing the complete trust chain for the clientAuth certificate presented by your client).

If you found this response assisted with your query, please take a moment to login and click on "Accept as Solution" below this post.

Thank you,