diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/create.json b/rest-api-spec/src/main/resources/rest-api-spec/api/create.json index 9cbfa4b5aa6..31c9d51f673 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/create.json +++ b/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"],