Files
2026-06-21 17:50:24 +08:00

32 lines
704 B
HTTP
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
### JWT
POST http://127.0.0.1:12426/Sample/v1/sample/demo
Content-Type: application/json
Authorization: Bearer {{token}}
{
"name": "Alice",
"age": 25
}
###
GET http://127.0.0.1:12426/Sample/v1/sample/demo?page=1&size=20
Authorization: Bearer {{token}}
###
GET http://127.0.0.1:12426/Sample/v1/sample/demo/{{identity}}
Authorization: Bearer {{token}}
###
PUT http://127.0.0.1:12426/Sample/v1/sample/demo/{{identity}}
Content-Type: application/json
Authorization: Bearer {{token}}
{
"name": "Alice Updated",
"age": 26
}
###
DELETE http://127.0.0.1:12426/Sample/v1/sample/demo/{{identity}}
Authorization: Bearer {{token}}