Add example authentication request

This commit is contained in:
Tanner Collin 2018-09-15 23:32:33 -06:00
parent b40cc3c458
commit 7dd40dabb0

View File

@ -25,6 +25,12 @@ Authentication is token-based and done against the Protospace member portal. Upo
POST data `username` and `password`. Upon successful login, a 200 status and a token will be returned. POST data `username` and `password`. Upon successful login, a 200 status and a token will be returned.
Example request:
```
curl -d username=tanner.collin -d password=supersecret http://tools-auth.protospace.ca/login/
```
Example response: Example response:
``` ```