Search the web
Sign In
New User? Sign Up
flexcoders · RIA Development with Adobe Flex
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Show off your group to the world. Share a photo of your group with us.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
How to pass Query String in Url   Message List  
Reply | Forward Message #145104 of 149550 |
RE: [flexcoders] How to pass Query String in Url

Rather, I would leave it as a POST and change the server to use the posted name=value pairs instead of the qureystring parms.

 

If that is not possible, change to GET and build the url dynamically:

Var sUrl:String = “http://base_url/?login=” + loginname + “&password=” password;

loginService.url = sUrl;

loginService.send();

 

Tracy Spratt,

Lariat Services, development services available


From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Charles Parcell
Sent: Saturday, July 04, 2009 9:19 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] How to pass Query String in Url

 




Instead of POST perhaps you want GET for your method.

CP

On Sat, Jul 4, 2009 at 2:50 AM, balaji <mcabalaji@gmail.com> wrote:

Hi all,

 I am a newbie to flex , I am trying to pass the querystring to URL but it is not working .

 The url : http://base_url/?login=loginname&password=password

 I tried to pass the arguments like this

 <mx:HTTPService id="loginService" url="base_url" method="POST"
     resultFormat="text" result="{handleLogin(event)}" fault="
     {handleFault(event)}">
     <mx:request>
       <login>{username.text}</login>
       <password>{password.text}</password>
     </mx:request>
 </mx:HTTPService>

 I need your help in fixing the issue ,

Thanks in Advance

Balaji






------------------------------------

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Alternative FAQ location: https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links

<*> To visit your group on the web, go to:
   http://groups.yahoo.com/group/flexcoders/

<*> Your email settings:
   Individual Email | Traditional

<*> To change settings online go to:
   http://groups.yahoo.com/group/flexcoders/join
   (Yahoo! ID required)

<*> To change settings via email:
   mailto:flexcoders-digest@yahoogroups.com
   mailto:flexcoders-fullfeatured@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
   flexcoders-unsubscribe@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
   http://docs.yahoo.com/info/terms/

 



Mon Jul 6, 2009 8:26 pm

nts333rd
Offline Offline
Send Email Send Email

Forward
Message #145104 of 149550 |
Expand Messages Author Sort by Date

Hi all, I am a newbie to flex , I am trying to pass the querystring to URL but it is not working . The url : http://base_url/?login=loginname&password=password...
balaji
mcabalajii
Offline Send Email
Jul 4, 2009
11:30 am

Instead of POST perhaps you want GET for your method. CP...
Charles Parcell
charlesparcell
Offline Send Email
Jul 4, 2009
1:19 pm

Rather, I would leave it as a POST and change the server to use the posted name=value pairs instead of the qureystring parms. If that is not possible, change...
Tracy Spratt
nts333rd
Offline Send Email
Jul 6, 2009
8:26 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help