17 lines
No EOL
436 B
HTTP
17 lines
No EOL
436 B
HTTP
### Load landing page
|
|
GET http://localhost:3000/ HTTP/1.1
|
|
|
|
### Success redirect
|
|
POST http://localhost:3000/login HTTP/1.1
|
|
Content-Type: application/json
|
|
Authorization: Basic jdoe1:password
|
|
|
|
### Failure redirect
|
|
POST http://localhost:3000/login HTTP/1.1
|
|
Content-Type: application/json
|
|
Authorization: Basic password:username
|
|
|
|
### Force basic
|
|
POST http://localhost:3000/hello HTTP/1.1
|
|
Content-Type: application/json
|
|
Accept:application/json |