Are you missing result and fault events? _HTTPService.addEventListener("result",onResult); _HTTPService.addEventListener("fault",onFault);
On Wed, Jun 4, 2014 at 4:18 PM, Logibérica - Paulo Esgaio < pesg...@logiberica.com> wrote: > Sorry for the late answer. > > I didn't receive any error, but on the server side (using PHP) the $_POST > var is empty. The http headers are OK. > > Here's the partial code: > > private var _HTTPService:HTTPService = new HTTPService(); > ... > _HTTPService.method = "POST" > _HTTPService.url = _url; > _HTTPService.contentType = "charset=x-user-defined"; > _HTTPService.contentData = my_data_to_send; > _HTTPService.addEventListener("complete",onRequestComplete); > _HTTPService.addEventListener("ioError",onRequestFault); > _HTTPService.send(); > > If i'm doing something wrong, please give me some guide lines. > > TIA. > > -----Mensagem original----- > De: Alex Harui [mailto:aha...@adobe.com] > Enviada: 3 de junho de 2014 04:55 > Para: dev@flex.apache.org > Cc: Logibérica - Marco Peixoto > Assunto: Re: HTTPService Example > > A simple POST test worked for me. Did you get an error? What were you > trying to post? > > -Alex > > On 6/2/14 10:18 AM, "pesgaio" <pesg...@logiberica.com> wrote: > > >Thak you, but I meant a FlexJS example. > > > > > > > > > >-- > >View this message in context: > >http://apache-flex-development.2333347.n4.nabble.com/FlexJS-HTTPService > >-Ex > >ample-tp37930p37933.html > >Sent from the Apache Flex Development mailing list archive at Nabble.com. > > > > >