krisjin / daylog

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

常用ES测试

krisjin opened this issue · comments

  1. curl post
curl -XPOST 'http://localhost:9200/u2/t_user' -H "Content-Type: application/json" -d '{"t_user":{
  "name":"krisjin",
  "age":18,
  "address":"北京亦庄经济开发区",
  "hobby":"fdsfasfsafsafs"
}}'