Skip to content

Does cloud-sdk support GET for CSRF? #1126

@vipulprabhu

Description

@vipulprabhu

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions