Hello all ,
I'm facing issue with Integration of EHS it is external service which we are consuming in our SAP BTP environment via destination for that we have created destination in our environment and we are able to read the data inside that service but while making a post call we are getting error like "failed to load remote service" .
firstly we are trying to fetch csrf token cause it is must for making post call but unable to store csrf token cause code directly executing catch block instead of try so how can we generate csrf token and make a post call to external service .
Request clarification before answering.
If you are using CAP properly you don't need to "manually" get the CSRF token. Here is how you would enable CAP to handle CSRF for you: https://cap.cloud.sap/docs/node.js/remote-services#csrf-token-handling
As for EHS API's. We used them successfully from CAP in the past without problems. Feel free to share a cleaned up repo with the community and we might be able to give you additional hints as to what your challenge might be.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.