questionnaire_survey/test.http

42 lines
678 B
Plaintext
Raw Normal View History

2021-08-10 03:11:28 +00:00
@url=http://localhost:8080/question
2021-07-25 00:33:34 +00:00
### form create
2021-08-10 03:11:28 +00:00
POST {{url}}/questionsubmit HTTP/1.1
2021-07-25 00:33:34 +00:00
2021-08-10 03:11:28 +00:00
{
"name":"zhangsan",
"email":"573805736@qq.com",
"city":"NingBo",
"date_time":"2021-07-27 15:03:41",
"sex":"Male",
"hobby":"Eat",
"desc":"暂无"
}
2021-07-25 00:33:34 +00:00
### form search
2021-08-10 03:11:28 +00:00
POST {{url}}/questionlist HTTP/1.1
2021-07-25 00:33:34 +00:00
### form query
2021-08-10 03:11:28 +00:00
GET {{url}}/questionquery/2 HTTP/1.1
2021-07-25 00:33:34 +00:00
### form delete
2021-08-10 03:11:28 +00:00
GET {{url}}/questiondelete/6 HTTP/1.1
2021-07-25 00:33:34 +00:00
### form update
2021-08-10 03:11:28 +00:00
POST {{url}}/questionupdate/3 HTTP/1.1
2021-07-25 00:33:34 +00:00
{
2021-08-10 03:11:28 +00:00
"name":"zhang",
"email":"573805736@qq.com",
"city":"BeiJin",
"date_time":"2021-07-27 15:03:41",
"sex":"Male",
"hobby":"Eat",
"desc":"暂无"
2021-07-25 00:33:34 +00:00
}