Need To Get Static JSON File with POST verb on IIS 7.5?

Normally, when we stick a JSON file up on an IIS web server, all we have to do to get to is is to set the Mime type.  One easy way to do it is to add to your web.config the following:   <system.webServer> <validation validateIntegratedModeConfiguration="false" /> <modules runAllManagedModulesForAllRequests="true" /> <staticContent> <mimeMap fileExtension=".json" mimeType="application/json" /> </staticContent> ...   This works great as long as the GET verb is used (or just enter the on the url like http://mysite.com/myfile.json). So, what if you "need” to use the POST keyword.  Say for example, you can not … Continue Reading

Follow

Get every new post delivered to your Inbox

Join other followers: