HTTP - Post

> (World Wide) Web - (W3|WWW) > (HTTP|HTTPS) - Hypertext Transfer Protocol

1 - About

The POST method requests that the target resource process the representation enclosed in the request according to the resource's

 own specific semantics.  
 
Advertising

3 - Usage

For example, POST is used for the following functions (among others):

  • Providing a block of data, such as the fields entered into an HTML form, to a data-handling process;
  • Posting a message to a bulletin board, newsgroup, mailing list, blog, or similar group of articles;
  • Creating a new resource that has yet to be identified by the origin server
  • Appending data to a resource's existing representation(s).

4 - Management

4.1 - Response

If one or more resources has been created on the origin server as a result of successfully processing a POST request, the origin server SHOULD send :

  • a 201 (Created) response
  • containing a Location header field that provides an identifier for the primary resource created

4.2 - Cache

Responses to POST requests are only cacheable when they include explicit freshness information

5 - Documentation / Reference

Advertising
web/http/post.txt ยท Last modified: 2019/02/09 11:29 by gerardnico