Added missing POST method to create.json REST spec

Relates to #20924
This commit is contained in:
Clinton Gormley 2016-10-17 17:58:31 +02:00
parent 42458e836a
commit 718a86e256
1 changed files with 1 additions and 1 deletions

View File

@ -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"],