Postman with local InfluxDB API (Docker) not working

Using Postman: InfluxDB API, I’m trying to access the local API endpoints and all I get is the same 200 OK HTML response.

<!doctype html>
<html lang="en">

<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width,initial-scale=1">
  <meta name="description"
    content="InfluxDB is a time series platform, purpose-built by InfluxData for storing metrics and events, provides real-time visibility into stacks, sensors, and systems.">
  <title>InfluxDB</title>
  <base href="/">
  <link rel="shortcut icon" href="/favicon.ico">
</head>

<body>
  <div id="react-root" data-basepath=""></div>
  <script src="/082da28ee9.js"></script>
</body>

</html>

I have Postman setup to access my cloud account as well and it works there.

I can also access the local API through the browser and the curl command. But for some reason it’s not working with Postman.

Anybody else experience this?

Fixed it!

My base_url variable had a trailing / so {{base_url}}/api/v2 was http://localhost:8086//api/v2.

1 Like

Hello @kurtishouser
Thank you for sharing your solution!
I really appreciate it!