POST requests are actually GETs July 2nd, 2007

 

I found out a pretty interesting, and slightly strange, feature of the HTTP protocol today. When submitting a form as a POST request, if you set the action to the targeted files folder name without the trailing slash it submits the form as a GET request—this caused me to scratch my head over a script for a couple minutes.

Try it for yourself.

 

Comments so far

Jonathan
July 2009

Heh, that is actually pretty interesting. Thanks.