cancel
Showing results for 
Search instead for 
Did you mean: 

X-CSRF-Token Value not coming in REST Client

Former Member
0 Kudos

Hi All,

I am trying to fetch the value of X-CSRF-Token using the REST client. Any how it always coming blank.. and showing Response Headers has been hidden.

GET is returning required application and executing the service.

"Response headers Headers panel has been hidden"

Please advice how we can get token value or un-hide the panel to get value.

Thanks

Rajesh

Accepted Solutions (1)

Accepted Solutions (1)

kammaje_cis
Active Contributor
0 Kudos

Rajesh,

Why don;t you test with other REST clients?

Anyway there is someone suggesting how they solved it here.

Not sure if that can help. I would try in other clients.

Answers (4)

Answers (4)

Former Member
0 Kudos

Hellou gurus, I have similar problem.

I can get collection from SAP gateway (get_entityset is working) but when I try call oModel.update

there is problem with csrf token validation.

So I tried call web service from rest client

and there is not x-csrf token value.

I guess thats why i can not update value from java, because server doesn't give mi csrf token.

Am I right ?

Thank you

sandeep_joseph
Explorer
0 Kudos

Hello Peter,

Did you find a solution to this? I'm stuck with the same issue.

Regards,

Sandeep

Jitendra_Kansal
Product and Topic Expert
Product and Topic Expert
0 Kudos

Any update? Were you able to make it work?

Former Member
0 Kudos

Hi Jitendra,

I tried the above options still it didn't worked with crome rest client.. though things working as expected in with POSTMAN.

Thanks & Regards,

Rajesh

AshwinDutt
Active Contributor
0 Kudos

Hello Rajesh,

I cleared my browser cache and the restarted the browser.

After that i was able to see the token value fetched in the response header.

May be you can check this way also once and see if it works in your case.

Regards,

Ashwin

Former Member
0 Kudos

Thanks Everyone for quick and informative response.. I tried with POSTMAN and it worked well.. anyhow I tried everything as suggested still Advanced REST Client in chrome browser is not working..

Regards,

Rajesh

Jitendra_Kansal
Product and Topic Expert
Product and Topic Expert
0 Kudos

Maybe you can reinstall chrome browser and then install REST client. Hope it should work then.

Jitendra_Kansal
Product and Topic Expert
Product and Topic Expert
0 Kudos

Rajesh,

Remove this installed Advanced REST Client in chrome browser , restart the browser and install it again.

Regards,

JK

PS: I have experienced this behavior many times. If still you see the same response, I would suggest you to check with postman (in chrome) or rest client (in Firefox).