22 lines
586 B
Text
22 lines
586 B
Text
|
### Load landing page
|
||
|
GET http://localhost:3000/ HTTP/1.1
|
||
|
|
||
|
### login (call_back)
|
||
|
POST http://localhost:3000/login HTTP/1.1
|
||
|
Content-Type: application/json
|
||
|
Authorization: Basic jdoe1:password
|
||
|
|
||
|
### Success redirect (local)
|
||
|
POST http://localhost:3000/login HTTP/1.1
|
||
|
Content-Type: application/json
|
||
|
Authorization: Basic username:password
|
||
|
|
||
|
### Failure redirect (local)
|
||
|
POST http://localhost:3000/login HTTP/1.1
|
||
|
Content-Type: application/json
|
||
|
Authorization: Basic password:username
|
||
|
|
||
|
### Force basic
|
||
|
GET http://localhost:3000/hello HTTP/1.1
|
||
|
Content-Type: application/json
|
||
|
Accept:application/json
|