[prev] [index] [next]

METHOD Attribute

The RequestMethod value indicates how data is passed to action URL.

Two RequestMethods are available: GET and POST   (although GET is deprecated).

  • GET: data attached to URL   (URL?name1=val1&name2=val2&...)
  • POST: data available to script via standard input
Within a server script all we see is a collection of variables:
  • with the same names as those used in the form elements
  • initialised with the values collected in the form