ALM 12.5x REST API Reference
Sign-in

The sign-in resource requests authorization.

Remarks

Post the user and password in BASE64 encoding in an Authorization header.

This resource sets the authentication cookies required for future requests:

Hint: A sign-in may fail if there are still valid authentication cookies. The cookies can be reset with a request to Sign-out.

URIs

/qcbin/api/authentication/sign-in

Limitations

Header Parameters

Example

Copy Code
****  Request ***
POST /qcbin/api/authentication/sign-in HTTP/1.1
Authorization: Basic 123456789abcdef=
Host: myserver:8081

****  Response ***
HTTP/1.1 200 OK
Set-Cookie: LWSSO_COOKIE_KEY=0123456789abcdef;Path=/;HTTPOnly
Set-Cookie: QCSession=0123456789abcdef;Path=/;HttpOnly
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Set-Cookie: ALM_USER=0123456789abcdef;Path=/
Set-Cookie: XSRF-TOKEN=0123456789abcdef;Path=/
Content-Length: 0