For HTTP GET requests, your CGI application will get it's data from the commandline. HTTP POST reqests will pass data through standard input.
If the CGI URL is specified as the handler for an HTML form
entity, then the HTML form
'action' attribute specifies the CGI handler.