Basic JWT is now working #12

Merged
jtom38 merged 12 commits from features/jwt/maybe into main 2024-03-29 14:51:01 -07:00
Showing only changes of commit bbdbb38711 - Show all commits

View File

@ -1,3 +1,8 @@
###
POST http://localhost:1323/api/v1/register?username=test&password=test
###
POST http://localhost:1323/api/v1/login?username=test&password=test
###
GET http://localhost:1323/api/v1/demo/hello GET http://localhost:1323/api/v1/demo/hello
### ###
GET http://localhost:1323/api/v1/demo/hello/james GET http://localhost:1323/api/v1/demo/hello/james
@ -5,5 +10,12 @@ GET http://localhost:1323/api/v1/demo/hello/james
GET http://localhost:1323/api/v1/demo/hello/body GET http://localhost:1323/api/v1/demo/hello/body
Content-Type: application/json Content-Type: application/json
name = "body" {
### "name": "body"
}
###
POST http://localhost:1323/api/v1/login?username=test
###
GET http://localhost:1323/api/v1/demo/protected