PUT Action on RESTful Web Services

By default, PUT action is not received by Internet Information Services(IIS 5.1).

In order to activate it from IIS, right click the web site that you want to enable the PUT methods and choose "Properties".
From the Default Web Site Properties window go to the Home Directory tab and click on "Configuration".
On Application Configuration window seek for the .svc extension and edit its verbs. Although you can accept all the verbs, I would prefer to limit them according to my needs like GET,HEAD,POST,DEBUG,PUT.

That's it, now you can invoke PUT request from your web service.

Comments

Popular posts from this blog

Space Character Problem on IE 6, 7, and 8

Configure hosts File in Android

Does Netflix work on iOS 5 Beta 4?