- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Apache Nifi - Dynamic Token Loading into Authorisation of InvokeHttp
- Labels:
-
Apache NiFi
Created on ‎02-08-2021 12:53 AM - edited ‎02-08-2021 12:53 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Everyone,
I am trying to create Authorisation header to which token can be loaded dynamically. I am using invokeHttp within which I have setup a field Authorisation but I am unable to understand what to place in the value side.
My situation is I have 2 flowfiles both coming separately, one contains the token then other contains body of the request. I am unable to understand how to make the request here, when things are in 2 separate flowfiles. Any help?
Regards
Ashwin
Created ‎02-08-2021 07:30 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @ashwinrk
maybe this information will help you further:
https://community.cloudera.com/t5/Support-Questions/NiFi-InvokeHTTP-POST-JSON/m-p/307990#M223438
It depends on the concrete target whether the "Authorization" has to be base64encoded or you can use basic authentication.
