Re: GET and POST
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.php archive

Re: GET and POST

From: John Dunlop <usenet+2004@john.dunlop.name>
Date: Sun Jul 31 2005 - 12:14:15 CEST

luke wrote:

> when it comes to forms, i would have put it thus: "if in doubt, use post".

I'm afraid I couldn't go with that either.

> at the very least you gain a cleaner url.

Yes, that can't be denied.

> in other situations get is perfectly suited

I agree, GET is suited to some situations, and you've hit the
nail on the head: it depends on the situation.

My objection was with the generalisation that you should
always tend towards POST, no matter the situation, even if it
is one for which you and I would both agree that GET is best.

-- 
Jock
Received on Tue Oct 18 02:06:33 2005