title: Prometheus API returning HTML instead of JSON
body: <p>Configured prometheus with kubernates and trying to execute queries using API's. Followed document to configure and execute the API 
  <a href="https://github.com/prometheus/prometheus/blob/master/docs/querying/api.md" rel="nofollow noreferrer">https://github.com/prometheus/prometheus/blob/master/docs/querying/api.md</a></p>
  
  <blockquote>
    <p>Executing below curl command for output:</p>
  </blockquote>
  
  <pre><code>curl -k -X GET "https://127.0.0.1/api/v1/query?query=kubelet_volume_stats_available_bytes"
  </code></pre>
  
  <p>But getting output in HTML instead of JSON. </p>
  
  <p>Is any additional configuration needed to be done to get output in json format for prometheus?</p>