PUT请求在localhost上工作但在服务器上返回400

时间:2014-04-29 13:52:26

标签: android wcf put http-status-code-400 android-volley

我正在开发一个使用Volley库调用WCF REST WebService的Android应用程序。

如果我在localhost上运行WebService并发出PUT请求它运行完美,在部署到服务器后,我得到400个代码到完全相同的请求。这只发生在PUT请求上。

如果我通过Postman或类似的应用程序测试它,它在localhost和服务器上都可以正常工作。

有人可以帮我吗? 感谢

0 个答案:

没有答案