老师我格式应该是对的为啥还是 422呢
来源:11-4 【注册页面】注册业务逻辑处理

hanpig
2022-05-13
写回答
1回答
-
阿莱克斯刘
2022-05-14
应该是逗号用错了,postman有红色波浪线,请尝试下面的请求(记得更换你的x-icode)
curl --location --request POST 'http://123.56.149.216:8080/auth/register' \ --header 'x-icode: D61ED1DF507A815D' \ --header 'Content-Type: application/json' \ --data-raw '{ "email": "qKsegeyz@qq.com", "password": "123456", "confirmPassword": "123456" }'
00
相似问题