Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Before storing the files in aws api through nifi i want to make form authorisation iwith one url and send the files to respective api (url)with cookies from form authorization as response set to the request body of the api link.

Before storing the files in aws api through nifi i want to make form authorisation iwith one url and send the files to respective api (url)with cookies from form authorization as response set to the request body 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 getting status code 302, as username or password is not sent  as to form authorisation

Don't have an account?
Coming from Hortonworks? Activate your account here