Use a network monitor and see how the headers compare. On 6/10/13 5:40 PM, "Franca Daniel" <df...@yahoo.com.br> wrote:
>HI All, > >I am using Flex Apache and Webapi net (JSON), the following >configuration works fine in Chrome and IE but in FireFox webapi is >returning XML and not JSON: > > > var s:mx.rpc.http.HTTPService = new mx.rpc.http.HTTPService(); > s.url = "My controller here"; >s.contentType = "application/json"; >s.resultFormat = mx.rpc.http.HTTPService.RESULT_FORMAT_TEXT; >s.headers = { Accept:"application/json" }; >s.method = "GET"; >s.useProxy = false; > >Any idea ? > >Thank you