22 lines
501 B
HTTP
22 lines
501 B
HTTP
###
|
|
POST http://localhost:1323/api/v1/register?username=test&password=test1234!
|
|
###
|
|
POST http://localhost:1323/api/v1/login?username=test&password=test1234!
|
|
###
|
|
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/body
|
|
Content-Type: application/json
|
|
|
|
{
|
|
"name": "body"
|
|
}
|
|
###
|
|
|
|
POST http://localhost:1323/api/v1/login?username=test
|
|
|
|
###
|
|
GET http://localhost:1323/api/v1/demo/protected
|
|
Authorization: Bearer |