Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 3189

HTTP Client Output Adapter: how to deal with Token?

$
0
0

Dear Colleagues,

 

we want to use HTTP Client Output Adapter to send HTTP Post requests to generate business objects from transformed events. The service it calls requires token:

 

https://<host>:<port>/myservice

method: GET

request header: X-Requested-With: XMLHttpRequest

                          X-CSRF-Token:Fetch

 

 

Afterwards, POST requests are sent with this Token always included in the request header:

 

https://<host>:<port>/myservice/ImportObjects

method: POST

request header: x-csrf-token:eygQM5-3e_UTQ==

request body: {...}

 

 

Is there a way to handle Token with HTTP Client Output Adapter? What are your best practise with such scenario?

 

Your input is greatly appreciated.

 

Thanks and best regards,

Tao


Viewing all articles
Browse latest Browse all 3189

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>