Browse Source

Added missing POST method to create.json REST spec

Relates to #20924
Clinton Gormley 9 years ago
parent
commit
718a86e256
1 changed files with 1 additions and 1 deletions
  1. 1 1
      rest-api-spec/src/main/resources/rest-api-spec/api/create.json

+ 1 - 1
rest-api-spec/src/main/resources/rest-api-spec/api/create.json

@@ -1,7 +1,7 @@
 {
   "create": {
     "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-index_.html",
-    "methods": ["PUT"],
+    "methods": ["PUT","POST"],
     "url": {
       "path": "/{index}/{type}/{id}/_create",
       "paths": ["/{index}/{type}/{id}/_create"],