I created a REST webservice in WCF that originally used POST to perform any inserts and deletes. Mostly out of curiosity, I decided to change the insert to a PUT and the delete to a DELETE. While this worked fine on my local machine (using the built-in VS2008 webserver), I'm getting this error when trying to target an actual server deployed elsewhere:
The HTTP request was forbidden with client authentication scheme 'Anonymous'.
Do I need to do something to specifically allow PUT and DELETE on the server (either via the web.config or through configuration in IIS), or do I somehow need to pass along my credentials to my HttpClient so that it can identify itself as something other than Anonymous?
Unfortunately, PUT and DELETE are incredibly common words, so scouring Google for the last hour hasn't yielded much in the way of useful results.