tags:

views:

42

answers:

2

does the latest sdk now support RESTful methods like PUT and DELETE using their HTTPService?

thanks

+2  A: 

According to the HTTPService documentation it does.

ilikeorangutans
that's according to their documentation but in reality it doesn't.
David
do you have useProxy set to true?
Shua
would that make the REST methods DELETE and PUT work? I would like to know beforehand because its rather a little more work I have to do to upgrade my SDK to a newer version.Thanks.
David
A: 

OK it seems like you need to use a separate server like BlazeDS in order to gain access to the PUT and DELETE methods. I haven't tried this personally, I feel like it is totally lame that this has to be the only solution. When I was using FLEX 3 with Rails 2, I was able to achieve RESTfulness by doing the ?_method=PUT hack. But, when I upgraded to Rails 3, it isn't working anymore :(

I been doing some readin trying to straighten this out. I also posted on here (http://stackoverflow.com/questions/3732183/rails-3-is-methodput-still-supposed-to-work) but I havent gotten any responses yet.... I really hope I don't need to trash FLEX because of Rails 3 not supporting the _method=PUT hack.

Buddy
I'm looking for a RESTConnector (probably build off of Socket) that re-implements the HTTP protocol just so I can do HTTP authentication as well as DELETE and PUT.Or I'll try and make it if no one who actually knows what they are doing has built this. Sigh.
Richard Haven