Embedding query to baseurl

I have url to connect to elasticsearch forexample

ip:9200

I have query suppose

{
  "query": {
    "range": {
      "@timestamp": {
        "gte": "now-1d/d",
        "lt": "now/d"
      }
    }
  },
  "aggs": {
    "my-agg-name": {
      "terms": {
        "field": "my-field"
      }
    }
  }
}

How can I connect both baseurl and query to see all result in chrome browser using full url

It's not clear what you are asking sorry, can you elaborate?