Browse Source

Update getting-started.asciidoc

Missing -X flag at the curl template

Closes #8977
Pablo Díaz-López 10 years ago
parent
commit
adb1a5b43b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      docs/reference/getting-started.asciidoc

+ 1 - 1
docs/reference/getting-started.asciidoc

@@ -365,7 +365,7 @@ If we study the above commands carefully, we can actually see a pattern of how w
 
 [source,sh]
 --------------------------------------------------
-curl -<REST Verb> <Node>:<Port>/<Index>/<Type>/<ID>
+curl -X<REST Verb> <Node>:<Port>/<Index>/<Type>/<ID>
 --------------------------------------------------
 
 This REST access pattern is pervasive throughout all the API commands that if you can simply remember it, you will have a good head start at mastering Elasticsearch.