If the POST body is empty, Flex converts the POST to a GET.  Is this the
case in your situation?

Tracy

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of dantmcgowan
Sent: Tuesday, November 04, 2008 7:28 PM
To: [email protected]
Subject: [flexcoders] HttpService POST shows as GET on server logs

 

Hi,
I am using Version 3.0.0 build 477 of mxmlc. I have the following
service code:

<mx:HTTPService
id="sendTestRequest"
url="http://localhost/basic.xml <http://localhost/basic.xml> "
useProxy="false"
method="POST"
resultFormat="e4x"
contentType="application/x-www-form-urlencoded"
fault="onServiceError(event)"
result="onComplete(event)" /> 

I have verified by tracing before my "send" that the service.method is
POST. When I check in "live httpheaders" it shows a GET and from my
apache access logs:

[04/Nov/2008:16:12:38 -0800] "GET /basic.xml HTTP/1.1" 200 40

Thanks in advance,

Dan

 

Reply via email to