When to try to get some date using REST API from a Cognos TM1 i get HTTP 401: Unauthorized
Here is my sample with basic authentication header.
GET https://testserver:8000/api/v1/Cubes
I get HTTP 401: Unauthorized and in heads:
WWW-Authenticate: CAMPassport http://testserver:80/ibmcognos/cgi-bin/cognosisapi.dll, CAMNamespace
How to get cookie from CAM so i could use it with REST API ?
I have found a nice wiki page which have helped me a lot: Using CAM authentication with TM1's, OData compliant, RESTful API