platform/packages/auth/example/client/example_client.http

17 lines
435 B
Text
Raw Normal View History

2023-05-30 11:49:02 +00:00
### 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
2023-05-31 16:44:37 +00:00
### Failure redirect
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