Justin

Some sort of this.

<s:HTTPService id="myRestful"/>


myRestful.method = URLRequestMethod.DELETE;
myRestful.url = 'http://URL_OF_SERVICE;
myRestful.headers =["application/json","X-HTTP-Method-Override","DELETE"];
// tried with those as well { Accept:"application/json",
"X-HTTP-Method-Override":"", "DELETE":""};
myRestful.contentType = "application/json";
myRestful.request = {some data_here};
myRestful.send();

Basically from what I understand he wants to manage a DELETE/PUT request to
the restful service.


----------------------------
Igor Costa
www.igorcosta.com
www.igorcosta.org


On Thu, Dec 5, 2013 at 7:11 PM, Justin Mclean <jus...@classsoftware.com>wrote:

> Hi,
>
> > Problem is, if you're trying to use PUT/DELETE, OPTIONS in the
> HTTPService
> > headers, all requests goes as GET headers.
>
> Think that a different (and known) issue - but put up some sample code to
> demonstrate and I'm sure someone will look into it.
>
> Thanks,
> Justin

Reply via email to