Hi Support,
I’m working on a business process that involves calling custom web services. For authentication, I need to pass cookies such as BPMLOADER
, .ASPXAUTH
, and BPMCSRF
in the header. Currently, I'm adding these manually, which isn't practical.
Query: Is there a way to automatically fetch these cookies when a user logs into Creatio and store them in a variable for later use in a web-service call?
Platform: Creatio:Energy (Freedom UI)
Like
If the web services are native to Creatio, why call them as web services at all? That adds a lot of unnecessary overhead to doing something that is already native. It would be better to rethink the approach. Can you give more details of what specifically you're trying to accomplish?
To make any API call whether It is OData Service or Custom Web-Service, we have to pass Cookies in header for 'GET' request & pass BPMCSRF Token along with Cookies in Headers
If we don't pass Cookies in Header for OData Service, then we get error as below:
Usecase: To fetch data from External DB (Client's), we have created custom web-service. To call these APIs we need to pass Cookies in headers.
We want to schedule these web-services & automatically pass cookies.