<p>I am trying to contact influxdb running on kubernetes. I am new on influxdb and I have just started using it. I used the query http API in the following way: <code>curl &quot;http://pod_ip_address/query?q=show+databases&quot; </code>, but the response is <code>{&quot;code&quot;:&quot;unauthorized&quot;,&quot;message&quot;:&quot;unauthorized access&quot;}</code>. Now I have just the user UI, so maybe the problem could be related to that. Does anybody know what could be the issue?</p>

C1ngh10
<p>InfluxDB 2.0 requires authentication using an ORG and a Token. You can pass these as HTTP headers in your <code>curl</code> call as shown here: <a href="https://docs.influxdata.com/influxdb/v2.0/api-guide/api_intro/#authentication" rel="nofollow noreferrer">https://docs.influxdata.com/influxdb/v2.0/api-guide/api_intro/#authentication</a></p>
