Update test cases

This commit is contained in:
Thomas Hii 2023-05-31 16:44:37 +00:00
parent 764829b01a
commit 1d00088d89
2 changed files with 9 additions and 5 deletions

View file

@ -6,3 +6,12 @@ POST http://localhost:3000/login HTTP/1.1
Content-Type: application/json Content-Type: application/json
Authorization: Basic jdoe1:password 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

View file

@ -1,8 +1,3 @@
### Load landing page ### Load landing page
GET http://localhost:3000/ HTTP/1.1 GET http://localhost:3000/ HTTP/1.1
### Failure redirect
POST http://localhost:3000/login HTTP/1.1
Content-Type: application/json
Authorization: Basic password:username