boot项目运行后,无法进行post接口的测试 · Issue #166 · APIJSON/APIJSON
Repository navigation
boot项目运行后,无法进行post接口的测试 #166
New issue
New issue
Open
Open
boot项目运行后,无法进行post接口的测试 #166 Labels
Question 使用问题
Description
@dxmy2's profile dxmy2 opened on Dec 2, 2020环境信息
- 系统: Windows 10
- JDK: 1.8.0_271
- 数据库: MySQL 8.0.21
- APIJSON: 2.9.1
问题描述
在http://apijson.org/auto/上进行测试时,先调用http://localhost:8080/login进行登录,登录信息为
{
"phone": "13000038710",
"password": "666666"
}
登录是成功的,之后切换为http://localhost:8080/post,新增信息为
{
"Moment": {
"content": "This is My_Test !",
"userId": 38710
},
"tag": "Moment"
}
会报错,报错信息为下,想问下原因以及解决办法。
错误信息
{
"Moment": {
"content": "This is My_Test !" ,
"userId": 38710
},
"tag": "Moment" ,
"ok": false ,
"code": 407 ,
"msg": "未登录,请登录后再操作!"
}
Metadata
Metadata
Assignees
No one assignedLabels
Question 使用问题