Rest 415邮递员中有不支持的媒体类型,但curl中没有
我通过curl调用这个Rest方法,它的工作原理很好:Rest 415邮递员中有不支持的媒体类型,但curl中没有,rest,curl,postman,restful-url,Rest,Curl,Postman,Restful Url,我通过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错误: 我可以看到两个主要问题: 在bod
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错误:
我可以看到两个主要问题: