Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Also how do you make a PUT or PATCH request from programming languages like Actionscript (and quite possibly Javascript though I'm not sure) which only support POST and GET requests currently?


Many frameworks overload the POST operation and allow the desired verb to be specified in the data.

Rack::MethodOverride does this for Rack-based apps by using the value of the _method parameter as the http verb.


FYI Javascript supports PUT. I suppose firewalls could be a problem...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: