RESTful WCF服务中的PUT和DELETE导致401 Unauthorized错误

时间:2011-05-19 17:25:57

标签: wcf rest http-status-code-401

我在IIS 7.5中有一个RESTful Web服务,它在我们的开发环境中运行良好。现在我们已经部署到QA环境,我们只在PUT和DELETE动词上获得401错误。我已经阅读了很多关于405错误的内容,但关于401错误的内容并不多。每当我尝试PUT或DELETE时,这都是确切的错误消息。

  

The HTTP request is unauthorized with client authentication scheme 'Anonymous'. The authentication header received from the server was ''

有没有人有任何想法?

科里

0 个答案:

没有答案