HTTP POST Request Message
(Redirected from HTTP POST Request)
Jump to navigation
Jump to search
An HTTP POST Request Message is a HTTP request message that requests that the http server accept the data object (in the request message's body) for storage as a new subordinate of the web resource identified by the URI.
- Context:
- It can (typically) be used to send data to a server to create or update a resource.
- It can (typically) not be cached
- It can (typically) not remain in the browser history
- It can (typically) not be bookmarked
- It can (typically) not have data length restrictions.
- …
- Example(s):
POST /test/demo_form.asp HTTP/1.1
Host: w3schools.com
name1=value1&name2=value2- one for Submitting a web form
- one for Uploading a file
- one for Sending data to a web service
- one for Updating a database record
- one for Logging in to a website
- one for Adding a new user
- one for Registering a user
- one for Making a payment
- …
- Counter-Example(s):
- See: HTTP POST Method.
References
2013
- http://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol#Request_methods
- POST : Requests that the server accept the entity enclosed in the request as a new subordinate of the web resource identified by the URI. The data POSTed might be, as examples, an annotation for existing resources; a message for a bulletin board, newsgroup, mailing list, or comment thread; a block of data that is the result of submitting a web form to a data-handling process; or an item to add to a database.[1]
- http://en.wikipedia.org/wiki/POST_%28HTTP%29
- In computing, POST is one of many request methods supported by the HTTP protocol used by the World Wide Web. The POST request method is designed to request that a web server accept the data enclosed in the request message's body for storage.[1] It is often used when uploading a file or submitting a completed web form.
In contrast, the HTTP GET request method is designed to retrieve information from the server. As part of a GET request, some data can be passed within the URI's query string, specifying for example search terms, date ranges, or other information that defines the query. As part of a POST request, an arbitrary amount of data of any type can be sent to the server in a request message body. A header field in the POST request usually indicates the message body's Internet media type.
- In computing, POST is one of many request methods supported by the HTTP protocol used by the World Wide Web. The POST request method is designed to request that a web server accept the data enclosed in the request message's body for storage.[1] It is often used when uploading a file or submitting a completed web form.
- ↑ "Hypertext Transfer Protocol -- HTTP/1.1". RFC 2616. http://tools.ietf.org/html/rfc2616. Retrieved 17 October 2012. "The POST method is used to request that the origin server accept the entity enclosed in the request as a new subordinate of the resource identified by the Request-URI in the Request-Line."