12-23-2016 09:10 AM - edited 03-01-2019 04:35 AM
Hello
I've been trying to follow the DevNet 'Learn & Code' documentation and am getting stuck authorising my REST API requests with the sandbox APIC-EM VM.
I can successfully obtain a service ticket value e.g ST-189-ar6AfacpDOBUsNpvcjSK-cas (I re-run the ticket request to ensure the token I'm using is valid) , however, when attempting to complete a GET REST request (using POSTMAN or other REST clients) I continually receive a 401 Unauthorised error message along with "Failed to provide a CAS service ticket to validate"
The X-Auth-Header does not seem to be a known header within the POSTMAN app (or others) & even if manually specifying the header this requests still are not authenticated correctly. I cannot find any other posts on this issue so I suspect I'm doing something wrong here... I'm just not sure what???
Any ideas appreciated :-)
Solved! Go to Solution.
12-23-2016 09:20 AM
Use "X-Auth-Token" not X-Auth-Header. Your ticket is fine.
12-23-2016 09:20 AM
Use "X-Auth-Token" not X-Auth-Header. Your ticket is fine.
12-23-2016 09:49 AM
Cheers.
Note to self: step away from the screen and engage brain!
12-23-2016 10:00 AM
Happy Holidays !
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide