Skip to content

Instantly share code, notes, and snippets.

@jarib
Created March 11, 2013 22:09
Show Gist options
  • Save jarib/5138322 to your computer and use it in GitHub Desktop.
Save jarib/5138322 to your computer and use it in GitHub Desktop.
$ curl -i localhost:9200/
HTTP/1.1 200 OK
Content-Type: application/json; charset=UTF-8
Content-Length: 179
{
"ok" : true,
"status" : 200,
"name" : "Tarleton, George",
"version" : {
"number" : "0.20.5",
"snapshot_build" : false
},
"tagline" : "You Know, for Search"
}
$ curl -i -XHEAD localhost:9200/hdo_production_issues/
HTTP/1.1 404 Not Found
Content-Type: text/plain; charset=UTF-8
Content-Length: 0
$ curl -i -XPOST localhost:9200/hdo_production_issues/
HTTP/1.1 400 Bad Request
Content-Type: application/json; charset=UTF-8
Content-Length: 92
{"error":"IndexAlreadyExistsException[[hdo_production_issues] Already exists]","status":400}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment