Search results
Results from the WOW.Com Content Network
In computing, POST is a request method supported by HTTP used by the World Wide Web. By design, the POST request method requests that a web server accepts the data enclosed in the body of the request message, most likely for storing it. [1] It is often used when uploading a file or when submitting a completed web form.
Valid methods for a specified resource. To be used for a 405 Method not allowed: Allow: GET, HEAD: Permanent RFC 9110: Alt-Svc [49] A server uses "Alt-Svc" header (meaning Alternative Services) to indicate that its resources can also be accessed at a different network location (host or port) or using a different protocol
Headers; An empty line; Optional HTTP message body data; The request/status line and headers must all end with <CR><LF> (that is, a carriage return followed by a line feed). The empty line must consist of only <CR><LF> and no other whitespace. The "optional HTTP message body data" is what this article defines.
Each response header field has a defined meaning which can be further refined by the semantics of the request method or response status code. HTTP/1.1 example of request / response transaction Below is a sample HTTP transaction between an HTTP/1.1 client and an HTTP/1.1 server running on www.example.com , port 80.
Diagram of a double POST problem encountered in user agents. Diagram of the double POST problem above being solved by PRG. Post/Redirect/Get (PRG) is a web development design pattern that lets the page shown after a form submission be reloaded, shared, or bookmarked without ill effects, such as submitting the form another time.
The same is usually true even for programmers writing CGI scripts, though some servers allow scripts to add custom headers (e.g. by enabling "non-parsed-headers"). Many web servers will generate a 3xx status code if a script outputs a "Location:" header line. For example, in PHP, one can use the "header" function:
Ready to file your taxes? You can get TurboTax for 30% off on Amazon today
Similar headers are used in Usenet messages, and HTTP headers. In a data packet sent via the Internet, the data (payload) are preceded by header information such as the sender's and the recipient's IP addresses, the protocol governing the format of the payload and several other formats. The header's format is specified in the Internet Protocol.