Usage:

1. Obtain the token:

Send POST request to http://api.pgd.ena.ovh/login_check with: _username={YOUR_LOGIN} and _password={YOUR_PASSWORD}.
as json response you get token.

EXAMPLE: {"token":"eyJhbGciOiJSUzI1NiIsIndasQdMm8gfsCvQ"}

2. Use token:

Simply pass token on each request to the protected endpoints as an authorization header.

EXAMPLE: Authorization: Bearer {token}

Documentation auto-generated on Fri, 23 Feb 18 05:12:13 +0100