We would like to add some more authentication on the passing the message from the Sender system to CPI, so HTTP adapter is capable of handling the CSRF token at the sender side.
As this feature is not enabled for the HTTP receiver, so we can go ahead with the ODATA adapter to use this feature.
In this post, will read about fetching the CSRF token and post the data to CPI from sender system.
For the demonstration, we use POSTMAN tool as a sender system.
Step 1: Get the CSRF token by calling the CPI system
(Click to Zoom if not visible)
Step 2: POST the actual data with the CSRF token as mentioned in the below screenshot:
Happy Learning!!!
As this feature is not enabled for the HTTP receiver, so we can go ahead with the ODATA adapter to use this feature.
In this post, will read about fetching the CSRF token and post the data to CPI from sender system.
For the demonstration, we use POSTMAN tool as a sender system.
Step 1: Get the CSRF token by calling the CPI system
(Click to Zoom if not visible)
Step 2: POST the actual data with the CSRF token as mentioned in the below screenshot:
CPI Flow design for simple testingSimple connectivity cal made to CPI and posted the data successfully.
Happy Learning!!!
No comments:
Post a Comment