Skip to content

Instantly share code, notes, and snippets.

@eriky
Last active December 10, 2019 08:29
Show Gist options
  • Save eriky/4e348354dc75dbcc099e457cc286b38d to your computer and use it in GitHub Desktop.
Save eriky/4e348354dc75dbcc099e457cc286b38d to your computer and use it in GitHub Desktop.
curl -X POST "localhost:9200/twitter/_doc/?pretty" -H 'Content-Type: application/json' -d'
{
"user" : "eriky",
"post_date" : "2019-12-08T14:12:12",
"message" : "Who loves Elasticsearch?"
}
'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment