Add example authentication request
This commit is contained in:
parent
b40cc3c458
commit
7dd40dabb0
|
@ -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.
|
||||
|
||||
Example request:
|
||||
|
||||
```
|
||||
curl -d username=tanner.collin -d password=supersecret http://tools-auth.protospace.ca/login/
|
||||
```
|
||||
|
||||
Example response:
|
||||
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue
Block a user