I am trying to test a GET call on the Yodless REST webservices.
I have tried following their instructions without success.
Looks like they have two tokens (Cobrand and User token)
Not sure which one of these tokens is an access token which I need to put in my authorization header.
But I have tried both and I am getting "Invalid Token in authorization header" for both of them as shown below.
Using "Cobrand token" as Authorization Header
Using "User token" as Authorization header
Can someone tell me what is wrong with my request ?
I figured it out.
Looks like I need to set the authorization header as follows
{cobSession=XXX,userSession=YYY}
Once the above formatted data is sent as part of the payload I am able to get a successful response.