title: Prometheus curl API query issue
body: <p>I am trying to construct curl API query to get Json data from Prometheus. The working in Prometheus UI query looks like:    </p>
  
  <p><code>max_over_time(container_memory_usage_bytes{image!="",pod_name=~"somepod-.*"}[7d])</code></p>
  
  <p>So I am trying with:</p>
  
  <pre><code>curl 'http://127.0.0.1:20001/api/v1/query?query=max_over_time(container_memory_usage_bytes{(pod_name="somepod-.*")})[1d]' | jq
  </code></pre>
  
  <p>But depending on brackets it always complaining about something like expected or unexpected character.</p>