title: how to use Postman to Insert Document in Elastic Search
body: <p>What i need</p>
  
  <ul>
  <li><p>i need to Insert Test document.</p></li>
  <li><p>i have followed link <a href="https://www.elastic.co/guide/en/elasticsearch/reference/current/_index_and_query_a_document.html" rel="noreferrer">https://www.elastic.co/guide/en/elasticsearch/reference/current/_index_and_query_a_document.html</a></p></li>
  </ul>
  
  <p>Here im trying</p>
  
  <pre><code>   PUT /customer/_doc/1?pretty
    {
     "name": "John Doe"
    }
  </code></pre>
  
  <blockquote>
    <p>Error request body is required</p>
  </blockquote>
  
  <p>snapshot when i try to run url</p>
  
  <p>1.<a href="http://localhost:9200/customer?pretty" rel="noreferrer">http://localhost:9200/customer?pretty</a></p>
  
  <p><a href="https://i.stack.imgur.com/CyJbT.png" rel="noreferrer"><img src="https://i.stack.imgur.com/CyJbT.png" alt="enter image description here"></a>
  2.<a href="http://localhost:9200/customer/_doc/1?pretty&amp;pretty" rel="noreferrer">http://localhost:9200/customer/_doc/1?pretty&amp;pretty</a>
  <a href="https://i.stack.imgur.com/I0mbF.png" rel="noreferrer"><img src="https://i.stack.imgur.com/I0mbF.png" alt="enter image description here"></a></p>
  
  <p>3.<a href="http://localhost:9200/customer/_doc/1?pretty&amp;pretty&amp;name=test" rel="noreferrer">http://localhost:9200/customer/_doc/1?pretty&amp;pretty&amp;name=test</a>
  <a href="https://i.stack.imgur.com/he1B1.png" rel="noreferrer"><img src="https://i.stack.imgur.com/he1B1.png" alt="enter image description here"></a></p>
  
  <p>can anyone suggest how to Insert document in Elastic search.</p>
  
  <ul>
  <li>any suggestion is most welcome.</li>
  </ul>