Skip to content

Instantly share code, notes, and snippets.

@minzhang28
minzhang28 / load_test_data.sh
Created May 22, 2017 22:33 — forked from clintongormley/load_test_data.sh
Run these commands in your shell to setup the test data for Chapter 5
curl -XPUT 'http://localhost:9200/us/user/1?pretty=1' -d '
{
"email" : "john@smith.com",
"name" : "John Smith",
"username" : "@john"
}
'
curl -XPUT 'http://localhost:9200/gb/user/2?pretty=1' -d '
{

Keybase proof

I hereby claim:

  • I am minzhang28 on github.
  • I am minzhang (https://keybase.io/minzhang) on keybase.
  • I have a public key whose fingerprint is 799E 7904 3E3D 31D1 D8D8 CCCC 8C0C A123 FF36 5650

To claim this, I am signing this object: