diff --git a/docs/reference/indices/types-exists.asciidoc b/docs/reference/indices/types-exists.asciidoc index 87b0aa3e8a8..739e0e9bf37 100644 --- a/docs/reference/indices/types-exists.asciidoc +++ b/docs/reference/indices/types-exists.asciidoc @@ -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