I'm trying to use the connect middleware framework grunt comes preconfigured with to develop the front-end of my application, with static JSON files standing in for actual web services which I'll develop later.
However, sending a POST request to my static file results in a 404 error, even though a GET request with the same URL and parameters works just fine.
Can I configure grunt/connect to simply serve up my static file when a POST request is made to that URL?
I did a trick in my source code to call GET method if the app uses Grunt Server: