一般来说,post请求的数据格式常见的有两种:
application/json 和 application/x-www-form-urlencoded
前者表示请求的参数格式在body中是json格式;
后者表示请求的参数格式在body中是键值对格式。
1、application/json格式:
headers:

注意:token不要取自cookie
body:

要用json格式才能取到正确的返回结果。
2、application/x-www-form-urlencoded格式:
headers:

body:

网友评论