2014 Jan 31 6:50 AM
Hello,
I have created RESFul service in ABAP using SICF and Handler Class. The GET method of the service is working but on testing POST method, I am getting an error "CSRF token validation failed".
I tried to fetch the CSRF token using the GET method by passing in the Header " X-CSRF-Token:Fetch ", but I am not getting anything back in the Response Header.
*Is there any settings to be done in the ABAP System?
*Any other Header Tag to be passed in the GET method?
Please help.
Thanks & Regards,
Abhishek Jolly
2014 Jan 31 9:51 AM
Hi Abhishek,
Have you also kept the content type token?
Regards,
Ashish Kumar
2014 Jan 31 10:56 AM
Hi Ashish,
Yes, I have kept the Content Type Token also.
Regards,
Abhishek