Re:On RESTful API Standards – Just Be Cool: 11 Rules for Pra...
by superasn on Tuesday May 01, 2012 @03:11PM
(#3915927)
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?
[ Parent
| on HN ]
Re:On RESTful API Standards – Just Be Cool: 11 Rules for Pra...
by grabastic on Tuesday May 01, 2012 @03:43PM
(#3916059)
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.
Re:On RESTful API Standards – Just Be Cool: 11 Rules for Pra...
by alexchamberlain on Tuesday May 01, 2012 @04:20PM
(#3916213)
FYI Javascript supports PUT. I suppose firewalls could be a problem...