on 02-25-2016 9:52 AM
Hi Gurus,
I wanted to disable CSRF token for my service ...
I have gone through the forum and noted that disable CSRF token at ICF by putting the CSRF parameter as 0.
I did the same , but when I test at REST Client during GET ...its NOT responding with CSRF token ... but when I do POST it says that CSRF token inavlid..
Looks like disbaling CSRF token works at GET but not at POST I guess..
How do I disble CSRF token for my entire service ...?? this service is being called from our web ...
Appreciate your help and advise..
Kind Regards
Shiv
You need two things. First is disabling it at the server which you have already done. second the client also need to Pass http header 'X-Requested-With' with a value of 'X' during the http call
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.