Cesar Mello's notes
Tuesday, June 20, 2017
How to query ElasticSearch using curl
curl -H "Content-Type: application/json" -X POST http://localhost:9200/test2/type1 -d '{ "name": "Marina" }'
curl -H "Content-Type: application/json" -X GET http://localhost:9200/test2/_search
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)