Logging In
To perform many requests, you can authenticate with an authentication cookie. You obtain the cookie with the method described below.
Every request must be in JSON format. Each request must include the content-type header with the value application/json.
Note: If you are using a development platform that does not automatically handle cookies, you must manually add a header (to every request) with the name Cookie with the value JSESSIONID=<jsessionid>, where <jsessionid> is the session ID provided in the response body of the login method.
Resource Name: /login
Request Method: POST
Request Header:
Header |
Value |
---|---|
Authorization | Basic <encoded_credentials>
where <encoded_credentials> is <user name>:<password> encoded in base64. |
Element |
Type |
Description |
---|---|---|
JSESSIONID |
String |
The session ID. |