Support Questions
Find answers, ask questions, and share your expertise

Before storing the files in aws api through nifi i want to make form authorisation and send the files to respective api with cookies from form authorization response set to the request header of the api link.

New Contributor

I have tried using form authorisation link as 

http://abcd.com/maximo/oslc/j_security_checkj_username=${j_username}&j_password=${j_password }

andhttp://abcd.com/maximo/oslc/j_security_check

 

 

the Api link is http://abcd.com/maximo/oslc/os/ns_operation 

 

The flow will be like

Generate flowfile -->update attribute-->invokehttp-->invokehttp-->logattribute.

 

generate flowfile then update attribute to add username and password for form authorisation and content type too

then invoke http using form authorisation link

(will cookie gotten from the form authorization response set to the request header of the main api link?)

then another invoke http with main api link.

 

i am not getting any errors in nifi,

but in the api side it is showing as form authorisation error am i missing something