2023-05-30 11:49:02 +00:00
|
|
|
### Load landing page
|
|
|
|
GET http://localhost:3000/ HTTP/1.1
|
|
|
|
|
2023-06-05 11:00:42 +00:00
|
|
|
### login (call_back)
|
2023-05-30 11:49:02 +00:00
|
|
|
POST http://localhost:3000/login HTTP/1.1
|
|
|
|
Content-Type: application/json
|
|
|
|
Authorization: Basic jdoe1:password
|
|
|
|
|
2023-06-05 11:00:42 +00:00
|
|
|
### Success redirect (local)
|
|
|
|
POST http://localhost:3000/login HTTP/1.1
|
|
|
|
Content-Type: application/json
|
|
|
|
Authorization: Basic username:password
|
|
|
|
|
|
|
|
### Failure redirect (local)
|
2023-05-31 16:44:37 +00:00
|
|
|
POST http://localhost:3000/login HTTP/1.1
|
|
|
|
Content-Type: application/json
|
|
|
|
Authorization: Basic password:username
|
|
|
|
|
|
|
|
### Force basic
|
2023-06-03 02:29:43 +00:00
|
|
|
GET http://localhost:3000/hello HTTP/1.1
|
2023-05-31 16:44:37 +00:00
|
|
|
Content-Type: application/json
|
|
|
|
Accept:application/json
|