CSRF token in REST message

Vanit
Mega Contributor

HI,

 

We are trying to retrieve the CSRF token from the REST endpoint in servicenow dublin patch6 release.

 

CSRF token is being sent when we pass the parameter fetch in the POST man by passing the parameter "x-csrf-token" :"Fetch".

 

But I passed the same header in Servicenow its not sending me CSRF token in the response. Can anyone guide me to retrieve this.

 

Thanks & Regards

Vani