Logging In

To use the API, a user must be authorized and have equal or greater privileges than the API call they are invoking. A user can login with valid credentials by passing their username and password to the login URL ( either as URI parameters or within a JSON object. The following call will login the user admin, and return the session information including an authorized token. The API attempts to cache the token as a cookie in the user’s web browser for authorizing future calls. As an alternative to using a browser cookie, this token can be passed as a URI parameter using the key: token.