title: Difference between XPOST and XPUT
body: <p>I'm just starting to use ElasticSearch. And I tried to know how to insert documents. I only found examples using the PUT method : <code>$ curl -XPUT 'http://localhost:9200/...'</code>
  But it also seems to work using POST. Is there any difference between these two methods?</p>
  
  <p>Thank you.</p>