summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Pott2015-09-05 15:23:51 (GMT)
committerAlex Pott2015-09-05 15:23:51 (GMT)
commitdb4406891e29407e9c96f817dfc1d024415be666 (patch)
tree87e653dc571f9250605fcc8bf92d503624fe4b3a
parent9dd19b43a1ad22533bfaaab1bb023d09ef858caa (diff)
Issue #2349431 by talhaparacha, Cyberwolf, bhavinvora, pjonckiere: Docs mention support for PUT instead of POST
-rw-r--r--[-rwxr-xr-x]core/core.api.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/core/core.api.php b/core/core.api.php
index 85fc654..9a625d0 100755..100644
--- a/core/core.api.php
+++ b/core/core.api.php
@@ -90,10 +90,12 @@
* returned response) for its HTTP requests. REST requests are separated into
* several types, known as methods, including:
* - GET: Requests to obtain data.
- * - PUT: Requests to update or create data.
+ * - POST: Requests to update or create data.
+ * - PUT: Requests to update or create data (limited support, currently unused
+ * by entity resources).
* - PATCH: Requests to update a subset of data, such as one field.
* - DELETE: Requests to delete data.
- * The Drupal Core REST module provides support for GET, PUT, PATCH, and DELETE
+ * The Drupal Core REST module provides support for GET, POST, PATCH, and DELETE
* quests on entities, GET requests on the database log from the Database
* Logging module, and a plugin framework for providing REST support for other
* data and other methods.