Add example authentication request
This commit is contained in:
@@ -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:
|
||||||
|
|
||||||
```
|
```
|
||||||
|
Reference in New Issue
Block a user