on 01-27-2015 12:13 AM
Hi Gurus,
Please help me in the issue ,I am facing in API Manager
currently I created a service and was successfully able to get xcsrf token when i run the GET method in REST(chrome)
however,I am unable to get the x-csrf token back in the IBM API manager.
Any suggestions,on where I went wrong
Thanks in advance
Lakshmi
Hi Ram and Maksim,
Thanks for your response.i was unable to get the RESPONSE of CSRF token.
So,i switched to chrome advanced REST client,it was much easy and responsive
closing this thread,as i had my csrf token got back in chrome
Thanks for the guidance
Lakshmi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Lakshmi,
Make sure you are sending value "fetch" in the request header for "x-csrf-token".
I am thinking you are already doing it as it worked on REST client but double check and see if this is being done on the API manager.
-Ram.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Lakshmi, the JSON/XML decision should not have any impact on the csrf token. The screenshot you posted is not showing what values are being passed , can you screenshot the values what you are sending.
And even easier, turn on the trace on gateway and check if your request headers show "fetch" like in below example.
Hi Ram,
Here is the screenshot of the values,I passed
As suggested by you,let me RUN the TRACE in SEGW.
.....................
ok i am back,I tried to do the Trace in SEGW by looking out in scn .I donot know,how to do the Trace,similar to what you did.
will you please let me know,how to get the screen,as listed by you?/
Thanks much
Lakshmi
User | Count |
---|---|
92 | |
11 | |
10 | |
9 | |
9 | |
7 | |
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.