Forum Discussion
madden1942
10 years agoOccasional Contributor
Hi PaulM,
Thanks for the reply!
To try and be a little clearer these are the steps
1 - Login service is sent to log the customer in
2 - successful login returns a response with the following in the JSON;
"WCToken": "16073%2cJxYrqS1bdrjPgOFaDQCXin4HwFTi85hzeTTuhIMsqjhqofQQfqwvh1UwqbvA2q24QeGsOaOjy2sjnixquLc%2bhi%2bmGQ180Hc8Z%2fD3kLx5kI5x8yxmXCPFUNQ6PTAPL%2bAtyIRJ47hU%2bg6omWaAHxXcnrHKM32J25hoMmpK%2b5sJ5ocwIY49LW70%2bDirB%2bCmtAQIZRCfuHK2n9YiA0FKmP1VDA%3d%3d",
"WCTrustedToken": "16073%2c5RMrBkCP7FZUOyDkvj0aj8PIQdI%3d",
3 - All of the following services require the above 2 'attributes' with their values to be sent in the header rather than the body of the message.
The bit that i am stuggling with is how to set up the subsequent services to use the 2 header values from the initial response.
Hope that helps!
Tim
Thanks for the reply!
To try and be a little clearer these are the steps
1 - Login service is sent to log the customer in
2 - successful login returns a response with the following in the JSON;
"WCToken": "16073%2cJxYrqS1bdrjPgOFaDQCXin4HwFTi85hzeTTuhIMsqjhqofQQfqwvh1UwqbvA2q24QeGsOaOjy2sjnixquLc%2bhi%2bmGQ180Hc8Z%2fD3kLx5kI5x8yxmXCPFUNQ6PTAPL%2bAtyIRJ47hU%2bg6omWaAHxXcnrHKM32J25hoMmpK%2b5sJ5ocwIY49LW70%2bDirB%2bCmtAQIZRCfuHK2n9YiA0FKmP1VDA%3d%3d",
"WCTrustedToken": "16073%2c5RMrBkCP7FZUOyDkvj0aj8PIQdI%3d",
3 - All of the following services require the above 2 'attributes' with their values to be sent in the header rather than the body of the message.
The bit that i am stuggling with is how to set up the subsequent services to use the 2 header values from the initial response.
Hope that helps!
Tim
Related Content
Recent Discussions
- 6 days agoemoya