SHARE
TWEET

Untitled

a guest Jun 20th, 2019 58 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. curl localhost:9200
  2. {
  3.   "name" : "84ucGje",
  4.   "cluster_name" : "elasticsearch_dnk306",
  5.   "cluster_uuid" : "yU6wdZpJT_-1OvaFf7l7Ug",
  6.   "version" : {
  7.     "number" : "6.5.0",
  8.     "build_flavor" : "default",
  9.     "build_type" : "tar",
  10.     "build_hash" : "816e6f6",
  11.     "build_date" : "2018-11-09T18:58:36.352602Z",
  12.     "build_snapshot" : false,
  13.     "lucene_version" : "7.5.0",
  14.     "minimum_wire_compatibility_version" : "5.6.0",
  15.     "minimum_index_compatibility_version" : "5.0.0"
  16.   },
  17.   "tagline" : "You Know, for Search"
  18. }
  19.      
  20. curl -XPOST localhost:9200/test/1 -d '{"title":"Hello world"}'
  21. {"error":"Content-Type header [application/x-www-form-urlencoded] is not supported","status":406}
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top