Include the 'X-userToken':window.g_ck in the header of your REST call. How to include this in Java?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2016 06:26 AM
Include the 'X-userToken':window.g_ck in the header of your REST call. How to include this in Java?
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2016 06:38 AM
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2016 07:33 AM
Hi Ken,
I tries in Java with the below code but it does not work.
httpget.setHeader("X-UserToken", "window.g_ck");
I get the 401 error.
Thank you,
Sriram.