campus-supervision/test.http

43 lines
541 B
Plaintext
Raw Normal View History

2023-12-29 04:58:20 +00:00
@url=http://localhost:8080/api
### add
POST {{url}}/add HTTP/1.1
Content-Type: application/json
{
"NIHAO":"SHFD",
"DFHFS":"fff"
}
### list
2023-12-29 05:31:00 +00:00
GET {{url}}/list HTTP/1.1
2023-12-29 04:58:20 +00:00
Content-Type: application/json
{
"NIHAO":"SHFD",
"DFHFS":"fff"
}
### detail
2023-12-29 05:31:00 +00:00
GET {{url}}/detail?id=1 HTTP/1.1
2023-12-29 04:58:20 +00:00
Content-Type: application/json
### delete
POST {{url}}/delete HTTP/1.1
Content-Type: application/json
{
2023-12-29 05:31:00 +00:00
"ID":2
2023-12-29 04:58:20 +00:00
}
### save
POST {{url}}/save HTTP/1.1
Content-Type: application/json
{
"ID":1,
"NIHAO":"SHFD",
"DFHFS":"fff"
}