Member since
02-03-2021
5
Posts
0
Kudos Received
1
Solution
My Accepted Solutions
Title | Views | Posted |
---|---|---|
1063 | 02-04-2021 12:14 AM |
02-08-2021
12:53 AM
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
... View more
Labels:
- Labels:
-
Apache NiFi
02-04-2021
12:14 AM
I was able to convert the same using replace text Search Value: (.*)=(.*)&(.*)=(.*)&(.*)=(.*)&(.*)=(.*) Replace Value: {'$1':'$2','$3':'$4','$5':'$6','$7':'$8'} Since the number of parameters for me was fixed to 4, this was enough to suffice me! If somebody has got an Idea how to do this dynamically, I am ears!
... View more
02-03-2021
10:05 PM
Hello Everyone, Sorry if this question seems dumb, but I have query parameter (that I received via ListenHttp) in format a=value_a&b=value_b and so on, I want to convert this to json as the form given below - { "a" : "value_a", "b" : "value_b" . . } I am not quite sure, but I think I should be using ReplaceText, but I am unable to understand how to write the regex. If using ReplaceText is the one I should not use on Nifi, then please do let me know how to approach the same? Thanks! Ashwin
... View more
Labels:
- Labels:
-
Apache NiFi