[DOCS] add -i flag to curl HEAD call

without -i you never see the status:200 or status:404 messages
This commit is contained in:
Corey Daley 2015-03-20 23:08:03 -04:00 committed by Luca Cavanna
parent 6da99b3ef0
commit 366f01b4d2
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ Used to check if a type/types exists in an index/indices.
[source,js]
--------------------------------------------------
curl -XHEAD 'http://localhost:9200/twitter/tweet'
curl -XHEAD -i 'http://localhost:9200/twitter/tweet'
--------------------------------------------------
The HTTP status code indicates if the type exists or not. A `404` means