title: Request working from Postman but resetting from Axios in the command line
body: <p>I'm having an odd issue. I'm testing an API and I sketched my requests out in Postman. In fact, they are currently working perfectly there.</p>
  
  <pre><code>POST /authEndpoint
  content-type: application/json
  accept: application/json
  cache-control: no-cache
  postman-token: some-token
  user-agent: PostmanRuntime/7.1.1
  host: greatapi.com
  accept-encoding: gzip, deflate
  content-length: 68
  {
   "user": "user",
   "password": "secret"
  }
  </code></pre>
  
  <p>I get my desired response. Now I tried to recreate this request using Axios in JavaScript. The issue is that instead of the response I get a read ECONNRESET. I believe I sketched it out just like in Postman, so it's odd. Here's my Axios config:</p>
  
  <pre><code>import AXIOS from 'axios';
  
  const BASE_URL = 'https://greatapi.com';
  
  const axios = AXIOS.create({
    baseURL: BASE_URL,
    headers: {
      'Accept': 'application/json',
      'Content-Type': 'application/json',
      'Cache-Control': 'no-cache',
    }
  });
  
  axios.post('/authEndpoint', {
    'user': 'user',
    'password': 'secret',
  })
    .then(response =&gt; console.log(response.data))
    .catch(error =&gt; console.error(error.message));
  </code></pre>
  
  <p>The specific response is this:</p>
  
  <pre><code>read ECONNRESET
  </code></pre>
  
  <p>Any ideas what could be wrong here?</p>