Last active
December 10, 2019 08:29
-
-
Save eriky/4e348354dc75dbcc099e457cc286b38d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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