[flexcoders] Re: HTTP Request Error and long strings

2008-11-19 Thread claudfernan04
Hi, I'm trying to send a nested array object using the method below but I still seem to be getting an HTTP request error and I'm not sure why. Any help would be greatly appreciated. public function useHttpService(batchContainer:Object):void { var container:String =

[flexcoders] Re: HTTP Request Error and long strings

2008-11-19 Thread hu22hugo
What's the error saying? Whatever, at least two suggestions: 1. The URL is not valid with an : in it. Encode it like http://172.19.60.128:8080/ViewDuration%3AregisterBatchEvent/ 2. Always use constants to avoid typing errors, e.g. service.addEventListener(ResultEvent.RESULT, httpResult) Marc

[flexcoders] Re: HTTP Request Error and long strings

2007-01-26 Thread michael.ritchie
Tracy, Your last suggestion did the trick. I was able to send my large string using by sending the data in the body, not the url. For the list, here is the fix to my problem. Tracy writes: I believe that when the message body is empty, Flex always uses GET. And when you put your data on