on 11-01-2019 9:02 AM
Goodmorning to all,
i am beginner HCI developer, and i have to develop flow from HR--> HCI --> REST.
I have to Upload a file from proxy to Rest, but before upload, i have to get token from the API REST. So i have 2 different url , the first one URL LOGIN and second is URL Upload File.
How can i pass the file as attachment via proxy on HCI?
If somebody has some experience or iFlow like this, please share also with screenshot about configuration.
thanks,
best regards.
The HTTP adapter is a raw adapter. You can create any HTTP payload in it. You just have to modify the payload so it fits with what you see otherwise with payloads and possible change the header.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Daniel,
thanks for your reply.
Can i use also this reference to do the same?
https://blogs.sap.com/2018/02/09/the-marriage-between-form-data-and-sap-cloud-platform-integration/
Thanks
Hi
In some cases you can use the Oauth authentication on the HTTP Adater in CPI. Then it will handle the lookup it self.
Otherwise you just create a call in the same process to perform the authentication lookup and then use the authentication in the REST Call.
If you are able to upload proxy wiht payload to the payload, then try to set the iflow into trace mode and then sent the message and see if you can see the payload in the trace information.
Daniel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.