Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 27. Networking Basics and Flash ... > Sending Variables with URLRequest

27.6. Sending Variables with URLRequest

Now, in addition to loading information from external sources, you can send information to external sources that will allow you to receive data based on what you sent. I'll go much more deeply into this in the next chapter, but let's look at the basics here.

GET and POST are two ways of sending information between web pages via the browser. The main difference between these two HTTP methods is that GET puts the variables in the URL, whereas POST adds them to the body of the HTTP request. Let's look at a GET request first:


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free 10-Day Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint