【发布时间】:2019-03-23 22:15:56
【问题描述】:
我通过 curl 调用这个 Rest 方法并且它工作正常:
curl -X POST -H "Content-Type: application/json" -H "Cache-Control: no-cache" -d '{ "email": "nunuet@gmail.com" }' "http://129.162.231.137:1133/calzada/api/v1/users/pwd"
但是当我使用 PostMan 调用相同的方法时,出现 415 错误:
【问题讨论】:
标签: rest curl postman restful-url