Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Get vs. POST in CGI.pm

by LazerRed (Pilgrim)
on Sep 22, 2003 at 20:29 UTC ( #293271=note: print w/ replies, xml ) Need Help??


in reply to Get vs. POST in CGI.pm

Along with the many good CGI links in the Tutorials section, I recommend picking up a copy of CGI Programming with Perl. I just picked up a copy, and though I'm only through chapter 4, I'd say it was money well spent already :-) Personally, I prefer paper media over electronic for study... For me it's just more comfortable.

As for your question, (as was pointed out above)...

GET is the standard method for retrieving a doc via HTTP. GET requests are intended to only retrieve resources and should not have side effects.

POST is used with HTML forms to submit information that may alter data stored on the server.

The above is highly condensed from chapter 2 of the above book.

LR

Whip me, Beat me, Make me use Y-ModemG.


Comment on Re: Get vs. POST in CGI.pm
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://293271]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (12)
As of 2014-09-17 15:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (89 votes), past polls