How to convert CURL into URI in Elasticsearch
<p>I have a curl command for elasticsearch aggregation as below.</p>

<pre><code>curl -XGET "http://localhost:9200/employee/_search?search_type=count&amp;pretty" -d '{
  "aggregations": {
    "profile": {
      "terms": {
        "field": "_type"
      },
      "aggs": {
        "hits": {
          "top_hits": {
            "size": 1
          }
        }
      }
    }
  }
}'
</code></pre>

<p>I want to search these above curl into my htmlpage in browser, how to convert this into normal url like URI search in elasticsearch ?</p>

<p>Please help me to convert above to url ?</p>