Files
labplus-server/main.http

40 lines
492 B
Plaintext
Raw Normal View History

2024-10-02 22:24:10 +08:00
@url = http://localhost:8080/api
2024-01-15 00:03:15 +08:00
@json = Content-Type: application/json
### main
GET {{url}}
############################# user
###
GET {{url}}/user
###
2024-10-02 22:24:10 +08:00
GET {{url}}/user/66e0fc98bfe90d5ebc373fad
2024-01-15 00:03:15 +08:00
###
POST {{url}}/user
2024-10-02 22:24:10 +08:00
{{json}}
2024-01-15 00:03:15 +08:00
{
2024-10-02 22:24:10 +08:00
"username": "azj",
"password": "helloworld",
2024-01-15 00:03:15 +08:00
"truename": "Davie Dro"
}
###
2024-10-02 22:24:10 +08:00
PUT {{url}}/user/66e0fc4eb7f0bcce35db2755
2024-01-15 00:03:15 +08:00
{{json}}
{
2024-10-02 22:24:10 +08:00
"truename": "艾志坚"
}
###
DELETE {{url}}/user/66e0fc98bfe90d5ebc373fad
###
GET http://172.31.2.82:25565