Pages

Friday, May 4, 2012

How to solve Http 401 error for Http Put and Delete with WCF Rest

With the popularity of WCF Rest services, it is now a bit more common to issue HTTP PUT and HTTP DELETE requests. I don't remember using those verbs before in my career. Whenever I needed to delete something or update something, I would use HTTP POST and then handle the data in the back end. But times have changed, and with WCF Rest embracing the HTTP protocol, you are more likely to work with those two verbs more often.