Ask the Question
Dear Colleagues,
We are using sap-cloud sdk to work with BTP destinations. In SAP Cloud SDK, CSRF token fetching is handled using a HEAD request by default. However, SAP OData services do not support HEAD for CSRF token retrieval and instead supports a GET request.
Given that OData only supports GET and not HEAD, how can we align Cloud SDK’s CSRF handling with SAP OData’s requirement? Is there a way to configure or override the default behavior?
Thanks,
Vipul.
Ask the Question
Dear Colleagues,
We are using sap-cloud sdk to work with BTP destinations. In SAP Cloud SDK, CSRF token fetching is handled using a HEAD request by default. However, SAP OData services do not support HEAD for CSRF token retrieval and instead supports a GET request.
Given that OData only supports GET and not HEAD, how can we align Cloud SDK’s CSRF handling with SAP OData’s requirement? Is there a way to configure or override the default behavior?
Thanks,
Vipul.