TWiT Throwback (Audio)

Coding 101 27: Perl: Reading POST Form Actions


Listen Later

The code for today's show is available at our: GitHub

Ivory Tower

Let's play with some POST! Last week we used the "GET" method within the HTML "FORM" tag to get information from the browser.


Would you care to name this creature?




  • If we type "My Dog" into the field and click Submit, it will create a URL that calls the script "animal_name.pl" and passes it the value "My+Dog"
  • The resulting URL would read: cgi-bin/bunny.pl?NameOfCreature=My+Dog Now we're going to use "POST"
  • While "GET" was fine for little pieces of data entry from the user, "POST" is the preferred methods for sending longer strings and combinations of HTML FORM data.
    • Unlike GET, POST requests have no restriction on data length. POST is NOT secure, but it DOES have a few security advantages to GET
    • GET requests remain in the browser history, CAN be cached and can be bookmarked.
    • POST requests are NOT retained the browser history, nor are they cacheable or bookmarkable.
    • Hosts: Fr. Robert Ballecer, SJ and Shannon Morse

      Guest: Patrick Delahanty

      Get in Touch With Us!
      • Subscribe and get Coding 101 automatically at https://twit.tv/shows/coding-101
      • Follow PadreSJ and Snubs on Twitter
      • Bandwidth for Coding 101 is provided by CacheFly.

        Sponsor:

        • lynda.com/c101
        • ...more
          View all episodesView all episodes
          Download on the App Store

          TWiT Throwback (Audio)By TWiT

          • 4
          • 4
          • 4
          • 4
          • 4

          4

          4 ratings


          More shows like TWiT Throwback (Audio)

          View all
          Total Leo (Audio) by TWiT

          Total Leo (Audio)

          202 Listeners

          TWiT News (Audio) by TWiT

          TWiT News (Audio)

          78 Listeners

          All TWiT.tv Shows (Audio) by TWiT

          All TWiT.tv Shows (Audio)

          355 Listeners

          TWiT Events (Audio) by TWiT

          TWiT Events (Audio)

          8 Listeners

          Total Mikah (Audio) by TWiT

          Total Mikah (Audio)

          3 Listeners

          Untitled Linux Show (Audio) by TWiT

          Untitled Linux Show (Audio)

          7 Listeners

          Host-Read Ads (Audio) by TWiT

          Host-Read Ads (Audio)

          3 Listeners