[ 
https://issues.apache.org/jira/browse/FLEX-34123?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13916039#comment-13916039
 ] 

Alex Harui commented on FLEX-34123:
-----------------------------------

I'm not an expert on this stuff, but I thought navigateToURL is like setting 
window.location in JS.  It is requesting a web page and is going to use GET.  
The documentation even says that navigateToURL will convert POST to GET

I think people who want to use POST generally use URLLoader.

> in air application flash.net.navigateToUrl  POST method gets converted to GET
> -----------------------------------------------------------------------------
>
>                 Key: FLEX-34123
>                 URL: https://issues.apache.org/jira/browse/FLEX-34123
>             Project: Apache Flex
>          Issue Type: Bug
>            Reporter: amit
>
> Hi Team,
>      here is the code base
> private function onPreviewResponse(html:String):void{
>       var serverPath:String = "http://anywebsite/preview";;
>       var   url:URLRequest = new  URLRequest(serverPath);
>       var params:URLVariables = new URLVariables();
>       /// very huge html String
>       params.previewDisclosure =  html;
>       url.data = params               url.method=URLRequestMethod.POST;
>       navigateToURL(url, "_blank");   
> }
> in air even if i am using url.method=URLRequestMethod.POST;
> request gets converted to GET as i have huge html string and can not build 
> two different verion i.e for air and flashplayer.
> Please let me know the resolution or make available the code base of 
> flash.net package



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to