Reference > REST Resources in this API > Sign-in |
The sign-in resource requests authorization.
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.
/qcbin/api/authentication/sign-in
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
|