in reply to How to check the request is (GET OR POST) in CGI
This is stored in the environment variable $ENV{REQUEST_METHOD}.