Authentication API

The /auth/test API endpoint

/auth/test (GET)

The /auth/test API endpoint provides HTTP GET access to test user credentials.

EXAMPLE

In the following example, querying the /auth/test API with a given username and password returns a 200 OK response, indicating that the credentials are valid.

curl -u myusername:mypassword http://127.0.0.1:8080/auth/test


HTTP/1.1 200 OK

API Specification

/auth/test (GET)
description Tests a given username and password.
example url http://hostname:8080/api/core/v2/auth/test
response codes
  • Valid credentials: 200 (OK)
  • Invalid credentials: 401 (Unauthorized)
  • Error: 500 (Internal Server Error)