I am having an issue with UrlLoader and POST. I am consuming
a REST web service, and am unable to get access to the response to
my request. I have debugged and seen 0 bytes available, and data is
"". I have tried doing a "GET" on the exact same URI, and
everything works fine. I've tried with HTTPService and URLStream,
all with no avail. I wonder if Flex does not support responses to
I have made the same request in Java using Restlet's HTTP
Client, and I have verified that the service is sending back a
response body to the POST request.
Here is my code in case anyone has an idea. I've spent the
last 3 hours googling and I have tried all sorts of small changes
to my code, with no avail. Any help is extremely appreciated.
Can you please make sure you are registering an event
listener as shown below. Please ignore this if you already have an
event listener added, i posted this reply without noticing that you
had it working for a GET request.