POST /v3/login
Summary
Authenticates the client in regard to the IMI server.
Resource URL
/v3/login
Example Request
curl \
--request POST \
--user 'admin:W00t' \
https://[server]:8443/umsapi/v3/login
Response Body
name | type | description |
| String | String containing the JSESSIONID |
Example Response
200 OK
Set-Cookie: JSESSIONID=3FB2F3F6A089FE9029DFD6DAFEF146DC; Path=/umsapi/; Secure; HttpOnly
---
{"message":"JSESSIONID=3FB2F3F6A089FE9029DFD6DAFEF146DC"}
You can maintain the session by sending the JSESSIONID in the Cookie header with every subsequent request. Some clients will do this automatically for you, e.g. the RESTClient Firefox add-on.
Cookie: JSESSIONID=3FB2F3F6A089FE9029DFD6DAFEF146DC