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

3 Must Haves of a Status Report

AWS encryption chart (SSE-S3 vs SSE-KMS vs SSE-C)

Curl "No status code specified in the response"