<
font
style
=
"color:rgb(61, 70, 77)"
>
<
font
face
=
"""
>
<
font
style
=
"font-size:16px"
deep
=
"22"
>
对于request:
uri表示请求接口
header表示请求头
form是表单数据
body是json数据
对于response:
return
data
表示返回数据
request uri
:
/
api
/
user
1
/
add
request header
:
{
Origin
=
http
:
/
/
localhost
:
8081
,
Accept
=
*
/
*
,
Connection
=
keep
-
alive
,
User
-
Agent
=
Mozilla
/
5.0
(
Macintosh; Intel Mac OS X
10
_
14
_
2
)
AppleWebKit
/
537.3
6
(
KHTML
,
like Gecko
)
Chrome
/
71.0
.
3578.9
8
Safari
/
537.3
6
,
Referer
=
http
:
/
/
localhost
:
8081
/
api
/
swagger
-
ui.html
,
Host
=
localhost
:
8081
,
Accept
-
Encoding
=
gzip
,
deflate
,
br
,
Accept
-
Language
=
zh
-
CN
,
zh;q
=
0.9
,
Content
-
Length
=
34
,
Content
-
Type
=
application
/
json
}
request form
:
{
}
request body
:
{
"age"
:
26
,
"name"
:
"hello"
}
response
return
data
:
{
"code"
:
0
,
"message"
:
"success"
,
"url"
:
null
,
"data"
:
{
"id"
:
null
,
"name"
:
"hello"
,
"age"
:
26
,
"version"
:
null
}
}
request uri
:
/
api
/
user
1
/
add
request header
:
{
Origin
=
http
:
/
/
localhost
:
8081
,
Accept
=
*
/
*
,
Connection
=
keep
-
alive
,
User
-
Agent
=
Mozilla
/
5.0
(
Macintosh; Intel Mac OS X
10
_
14
_
2
)
AppleWebKit
/
537.3
6
(
KHTML
,
like Gecko
)
Chrome
/
71.0
.
3578.9
8
Safari
/
537.3
6
,
Referer
=
http
:
/
/
localhost
:
8081
/
api
/
swagger
-
ui.html
,
Host
=
localhost
:
8081
,
Accept
-
Encoding
=
gzip
,
deflate
,
br
,
Accept
-
Language
=
zh
-
CN
,
zh;q
=
0.9
,
Content
-
Length
=
35
,
Content
-
Type
=
application
/
json
}
request form
:
{
}
request body
:
{
"age"
:
16
,
"name"
:
"张三"
}
response
return
data
:
{
"code"
:
0
,
"message"
:
"success"
,
"url"
:
null
,
"data"
:
{
"id"
:
null
,
"name"
:
"张三"
,
"age"
:
16
,
"version"
:
null
}
}
request uri
:
/
api
/
user
1
/
get
/
1
request header
:
{
Accept
=
*
/
*
,
Connection
=
keep
-
alive
,
User
-
Agent
=
Mozilla
/
5.0
(
Macintosh; Intel Mac OS X
10
_
14
_
2
)
AppleWebKit
/
537.3
6
(
KHTML
,
like Gecko
)
Chrome
/
71.0
.
3578.9
8
Safari
/
537.3
6
,
Referer
=
http
:
/
/
localhost
:
8081
/
api
/
swagger
-
ui.html
,
Host
=
localhost
:
8081
,
Accept
-
Encoding
=
gzip
,
deflate
,
br
,
Accept
-
Language
=
zh
-
CN
,
zh;q
=
0.9
}
request form
:
{
}
request body
:
response
return
data
:
{
"code"
:
0
,
"message"
:
"success"
,
"url"
:
null
,
"data"
:
null
}
request uri
:
/
api
/
user
1
/
list
request header
:
{
Accept
=
*
/
*
,
Connection
=
keep
-
alive
,
User
-
Agent
=
Mozilla
/
5.0
(
Macintosh; Intel Mac OS X
10
_
14
_
2
)
AppleWebKit
/
537.3
6
(
KHTML
,
like Gecko
)
Chrome
/
71.0
.
3578.9
8
Safari
/
537.3
6
,
Referer
=
http
:
/
/
localhost
:
8081
/
api
/
swagger
-
ui.html
,
Host
=
localhost
:
8081
,
Accept
-
Encoding
=
gzip
,
deflate
,
br
,
Accept
-
Language
=
zh
-
CN
,
zh;q
=
0.9
}
request form
:
{
}
request body
:
response
return
data
:
{
"code"
:
0
,
"message"
:
"success"
,
"url"
:
null
,
"data"
:
[]
}
request uri
:
/
api
/
demo
/
getHello
request header
:
{
Accept
=
*
/
*
,
Connection
=
keep
-
alive
,
User
-
Agent
=
Mozilla
/
5.0
(
Macintosh; Intel Mac OS X
10
_
14
_
2
)
AppleWebKit
/
537.3
6
(
KHTML
,
like Gecko
)
Chrome
/
71.0
.
3578.9
8
Safari
/
537.3
6
,
Referer
=
http
:
/
/
localhost
:
8081
/
api
/
swagger
-
ui.html
,
Host
=
localhost
:
8081
,
Accept
-
Encoding
=
gzip
,
deflate
,
br
,
Accept
-
Language
=
zh
-
CN
,
zh;q
=
0.9
}
request form
:
{
}
request body
:
response
return
data
:
hello
<
/
font
>
<
/
font
>
<
/
font
>