Adobe Flex Quick Tips

Adobe Flex 3 learning. Quick tips and tutorials about Adobe Flex 3, Flex Builder and Action Script 3.

Showing posts with label request. Show all posts
Showing posts with label request. Show all posts

Monday, March 23, 2009

Send parameters using POST

If you want to send parameters using POST you need to create a new url request using this code:


var request:URLRequest = new URLRequest([http://URL.url]);
var urlVars:URLVariables = new URLVariables();

urlVars.field1 = [field1];
urlVars.field2 = [field2];
request.data = urlVars;
request.method="POST";

navigateToURL(request,["_self","_blank"]);
Publicado por Julianjdr en 9:28 AM 0 comentarios
Etiquetas: actionscript, application, developer, flex, post, request, ria, web
Older Posts Home
Subscribe to: Posts (Atom)

Blog Archive

  • ▼  2009 (5)
    • ▼  March (4)
      • Send parameters using POST
      • Youtube videos in Flex
      • BarCode generating
      • Generating PDF files
    • ►  February (1)

Tags

  • actionscript (1)
  • add-on (1)
  • api (1)
  • application (1)
  • bar (1)
  • barcode (1)
  • code (1)
  • component (1)
  • custom (1)
  • developer (1)
  • flex (1)
  • generate (2)
  • library (2)
  • pdf (1)
  • player (1)
  • post (1)
  • request (1)
  • ria (1)
  • video (1)
  • web (1)
  • youtube (1)

RSS Subcription

Posts
Atom
Posts
All Comments
Atom
All Comments