Skip to Content
0
Jun 01, 2020 at 08:24 AM

Can X-CSRF Token have Static/ Constant value in ODATA?

425 Views

Hello Experts,

I need some pointer on X-CSRF-Token, Is it possible to have Static/ Constant value for X-CSRF-Token instead of using Fetch every time?

My client requirement is they don't want to disable it and pass 'X' value for header 'X-Requested-With' instead they want some long value for X-CSRF-TOKEN but tat should be constant. They don't want to fetch new value every time.

So is it possible in SAP to Set one value for X-CSRF-TOKEN in ODATA?

Thank You,

Sagar