<h3 dir="auto">Describe the bug</h3>
<p dir="auto">I'm getting response like:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="data: ��n�8�_���VIJ�-�`.Y
                   �x&amp;@��)JbM�
I��y�)_d�I�E���!������W����+�p�ܲ�������)�M�߻%��HHa�\k�w��&amp;�����u��l�tGЉ�/��������=��_m���b�;H!A��1�t�R�'�ӏ�a�nZ��r�O;�f2�V-B�M�Y�C�M�V�~o�P���� 3|�j&lt;#&lt;�� �R��(���O���9�4M(��4  �Zm��%�x
玬�9�1����o��������ꮰrE�|Yk�z����xF�$�H:y�iDҙ?w�?��K�#�&gt;���K����z�v��qŕ�,^�ڭu�|�r���P�H�6S���o��V8p)+�4�p T���/N�1&amp;c��qF�&amp;(�Ł�㜆�1���hF�8Jqv���}�1͕AYQ�ղ��1ޯ���+�:̪}�?   ��1�&amp;��)��      n�m�
                                                                                                                                                                                  &lt;���.��.�wU�ֵ��ޡ2]�#ÛN��'M��^Gd�S�74�bt�Xo'('&quot;�S��gQ����]$�[��6�M_=A��Xs��Z��d���*��m�(��t��,�N�Y�j�*�����M�9r��jn]ߖ����o�&gt;����3��:��Ѯ˻��*�^�l�I�$�a�O�Y#5;g�
                          ɾ
�0�&amp;��d$dȋ�=bM#��c��α�j�rܷ�m+
                             �s��y[n���@��+,;!�����I�l��LW���Jܶ9{�d     ���9�PD(ʢ�OJ� _�Ӕ�iD��bt�4�}��O
�}�l[EB�+\�e�vj�v�k�\��F���S����`�GŲ̦M�Lfh��snK]l!�����M�W���a�;+T�n��aʱ�i ��p��θXs��m���C�����0�v�������n�\����hڜ���J�Z�ZA�ҭ��
�.�,v�v���VXH����:�,܆s��A���N�N���f�0��T�̍㉓��6.L���h��`w���������!g%Y�;�$�߻���W�t�We�J�Z�'\�o.?z��kTh��ۍ�/��e����k���e5/:ɋE�
                                                                                                                             ߂���u�Y؞�l�k�$���&gt;E���Y
                                                                                                                                                    ����?&lt;����M�
"><pre class="notranslate"><code class="notranslate">data: ��n�8�_���VIJ�-�`.Y
                   �x&amp;@��)JbM�
I��y�)_d�I�E���!������W����+�p�ܲ�������)�M�߻%��HHa�\k�w��&amp;�����u��l�tGЉ�/��������=��_m���b�;H!A��1�t�R�'�ӏ�a�nZ��r�O;�f2�V-B�M�Y�C�M�V�~o�P���� 3|�j&lt;#&lt;�� �R��(���O���9�4M(��4  �Zm��%�x
玬�9�1����o��������ꮰrE�|Yk�z����xF�$�H:y�iDҙ?w�?��K�#�&gt;���K����z�v��qŕ�,^�ڭu�|�r���P�H�6S���o��V8p)+�4�p T���/N�1&amp;c��qF�&amp;(�Ł�㜆�1���hF�8Jqv���}�1͕AYQ�ղ��1ޯ���+�:̪}�?   ��1�&amp;��)��      n�m�
                                                                                                                                                                                  &lt;���.��.�wU�ֵ��ޡ2]�#ÛN��'M��^Gd�S�74�bt�Xo'('"�S��gQ����]$�[��6�M_=A��Xs��Z��d���*��m�(��t��,�N�Y�j�*�����M�9r��jn]ߖ����o�&gt;����3��:��Ѯ˻��*�^�l�I�$�a�O�Y#5;g�
                          ɾ
�0�&amp;��d$dȋ�=bM#��c��α�j�rܷ�m+
                             �s��y[n���@��+,;!�����I�l��LW���Jܶ9{�d     ���9�PD(ʢ�OJ� _�Ӕ�iD��bt�4�}��O
�}�l[EB�+\�e�vj�v�k�\��F���S����`�GŲ̦M�Lfh��snK]l!�����M�W���a�;+T�n��aʱ�i ��p��θXs��m���C�����0�v�������n�\����hڜ���J�Z�ZA�ҭ��
�.�,v�v���VXH����:�,܆s��A���N�N���f�0��T�̍㉓��6.L���h��`w���������!g%Y�;�$�߻���W�t�We�J�Z�'\�o.?z��kTh��ۍ�/��e����k���e5/:ɋE�
                                                                                                                             ߂���u�Y؞�l�k�$���&gt;E���Y
                                                                                                                                                    ����?&lt;����M�

</code></pre></div>
<p dir="auto">This started happening when I upgraded to Axio 1.2.0, while Axios 1.1.3 still works fine.</p>
<h3 dir="auto">To Reproduce</h3>
<p dir="auto">Save the code snippet as a file, then run: <code class="notranslate">node &lt;path-to-file&gt;</code>.</p>
<h3 dir="auto">Code snippet</h3>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import axios from 'axios'
axios({
  url: 'https://www.githubstatus.com/api/v2/summary.json'
}).then(statusDetails =&gt; {
  console.log('data: ', statusDetails.data)
}, statusDetailsError =&gt; {
  console.log(''error: ', statusDetailsError)
})"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">axios</span> <span class="pl-k">from</span> <span class="pl-s">'axios'</span>
<span class="pl-en">axios</span><span class="pl-kos">(</span><span class="pl-kos">{</span>
  <span class="pl-c1">url</span>: <span class="pl-s">'https://www.githubstatus.com/api/v2/summary.json'</span>
<span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">then</span><span class="pl-kos">(</span><span class="pl-s1">statusDetails</span> <span class="pl-c1">=&gt;</span> <span class="pl-kos">{</span>
  <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s">'data: '</span><span class="pl-kos">,</span> <span class="pl-s1">statusDetails</span><span class="pl-kos">.</span><span class="pl-c1">data</span><span class="pl-kos">)</span>
<span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-s1">statusDetailsError</span> <span class="pl-c1">=&gt;</span> <span class="pl-kos">{</span>
  <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s">''</span><span class="pl-s1">error</span>: '<span class="pl-kos">,</span> <span class="pl-s1">statusDetailsError</span><span class="pl-kos">)</span>
<span class="pl-kos">}</span><span class="pl-kos">)</span></pre></div>
<h3 dir="auto">Expected behavior</h3>
<p dir="auto">I should get a JSON response like:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="data: {
  page: {
    id: 'kctbh9vrtdwd',
    name: 'GitHub',
    url: 'https://www.githubstatus.com',
    time_zone: 'Etc/UTC',
    updated_at: '2022-11-25T05:16:11.057Z'
  },
  components: [
    {
      id: '8l4ygp009s5s',
      name: 'Git Operations',
      status: 'operational',
      created_at: '2017-01-31T20:05:05.370Z',
      updated_at: '2022-11-09T01:54:03.540Z',
      position: 1,
      description: 'Performance of git clones, pulls, pushes, and associated operations',
      showcase: false,
      start_date: null,
      group_id: null,
      page_id: 'kctbh9vrtdwd',
      group: false,
      only_show_if_degraded: false
    },
    {
      id: 'brv1bkgrwx7q',
      name: 'API Requests',
      status: 'operational',
      created_at: '2017-01-31T20:01:46.621Z',
      updated_at: '2022-11-09T01:54:01.951Z',
      position: 2,
      description: 'Requests for GitHub APIs',
      showcase: false,
      start_date: null,
      group_id: null,
      page_id: 'kctbh9vrtdwd',
      group: false,
      only_show_if_degraded: false
    },
    {
      id: '4230lsnqdsld',
      name: 'Webhooks',
      status: 'operational',
      created_at: '2019-11-13T18:00:24.256Z',
      updated_at: '2022-11-09T01:54:07.258Z',
      position: 3,
      description: 'Real time HTTP callbacks of user-generated and system events',
      showcase: false,
      start_date: null,
      group_id: null,
      page_id: 'kctbh9vrtdwd',
      group: false,
      only_show_if_degraded: false
    },
    {
      id: '0l2p9nhqnxpd',
      name: 'Visit www.githubstatus.com for more information',
      status: 'operational',
      created_at: '2018-12-05T19:39:40.838Z',
      updated_at: '2022-09-07T00:08:33.519Z',
      position: 4,
      description: null,
      showcase: false,
      start_date: null,
      group_id: null,
      page_id: 'kctbh9vrtdwd',
      group: false,
      only_show_if_degraded: false
    },
    {
      id: 'kr09ddfgbfsf',
      name: 'Issues',
      status: 'operational',
      created_at: '2017-01-31T20:01:46.638Z',
      updated_at: '2022-11-09T01:54:04.113Z',
      position: 5,
      description: 'Requests for Issues on GitHub.com',
      showcase: false,
      start_date: null,
      group_id: null,
      page_id: 'kctbh9vrtdwd',
      group: false,
      only_show_if_degraded: false
    },
    {
      id: 'hhtssxt0f5v2',
      name: 'Pull Requests',
      status: 'operational',
      created_at: '2020-09-02T15:39:06.329Z',
      updated_at: '2022-11-09T01:54:06.027Z',
      position: 6,
      description: 'Requests for Pull Requests on GitHub.com',
      showcase: false,
      start_date: null,
      group_id: null,
      page_id: 'kctbh9vrtdwd',
      group: false,
      only_show_if_degraded: false
    },
    {
      id: 'br0l2tvcx85d',
      name: 'Actions',
      status: 'operational',
      created_at: '2019-11-13T18:02:19.432Z',
      updated_at: '2022-11-18T04:11:58.048Z',
      position: 7,
      description: 'Workflows, Compute and Orchestration for GitHub Actions',
      showcase: false,
      start_date: null,
      group_id: null,
      page_id: 'kctbh9vrtdwd',
      group: false,
      only_show_if_degraded: false
    },
    {
      id: 'st3j38cctv9l',
      name: 'Packages',
      status: 'operational',
      created_at: '2019-11-13T18:02:40.064Z',
      updated_at: '2022-11-09T01:54:04.600Z',
      position: 8,
      description: 'API requests and webhook delivery for GitHub Packages',
      showcase: false,
      start_date: null,
      group_id: null,
      page_id: 'kctbh9vrtdwd',
      group: false,
      only_show_if_degraded: false
    },
    {
      id: 'vg70hn9s2tyj',
      name: 'Pages',
      status: 'operational',
      created_at: '2017-01-31T20:04:33.923Z',
      updated_at: '2022-11-09T01:54:05.104Z',
      position: 9,
      description: 'Frontend application and API servers for Pages builds',
      showcase: false,
      start_date: null,
      group_id: null,
      page_id: 'kctbh9vrtdwd',
      group: false,
      only_show_if_degraded: false
    },
    {
      id: 'h2ftsgbw7kmk',
      name: 'Codespaces',
      status: 'operational',
      created_at: '2021-08-11T16:02:09.505Z',
      updated_at: '2022-11-20T19:55:55.204Z',
      position: 10,
      description: 'Orchestration and Compute for GitHub Codespaces',
      showcase: false,
      start_date: '2021-08-11',
      group_id: null,
      page_id: 'kctbh9vrtdwd',
      group: false,
      only_show_if_degraded: false
    },
    {
      id: 'pjmpxvq2cmr2',
      name: 'Copilot',
      status: 'partial_outage',
      created_at: '2022-06-21T16:04:33.017Z',
      updated_at: '2022-11-25T04:13:55.392Z',
      position: 11,
      description: null,
      showcase: false,
      start_date: '2022-06-21',
      group_id: null,
      page_id: 'kctbh9vrtdwd',
      group: false,
      only_show_if_degraded: false
    }
  ],
  incidents: [
    {
      id: '69flmdbxhtsk',
      name: 'Incident with Copilot',
      status: 'investigating',
      created_at: '2022-11-25T04:13:49.067Z',
      updated_at: '2022-11-25T05:16:11.047Z',
      monitoring_at: null,
      resolved_at: null,
      impact: 'minor',
      shortlink: 'https://stspg.io/dtmycfy7r5p6',
      started_at: '2022-11-25T04:13:49.061Z',
      page_id: 'kctbh9vrtdwd',
      incident_updates: [Array],
      components: [Array]
    }
  ],
  scheduled_maintenances: [],
  status: { indicator: 'minor', description: 'Minor Service Outage' }
}"><pre class="notranslate"><code class="notranslate">data: {
  page: {
    id: 'kctbh9vrtdwd',
    name: 'GitHub',
    url: 'https://www.githubstatus.com',
    time_zone: 'Etc/UTC',
    updated_at: '2022-11-25T05:16:11.057Z'
  },
  components: [
    {
      id: '8l4ygp009s5s',
      name: 'Git Operations',
      status: 'operational',
      created_at: '2017-01-31T20:05:05.370Z',
      updated_at: '2022-11-09T01:54:03.540Z',
      position: 1,
      description: 'Performance of git clones, pulls, pushes, and associated operations',
      showcase: false,
      start_date: null,
      group_id: null,
      page_id: 'kctbh9vrtdwd',
      group: false,
      only_show_if_degraded: false
    },
    {
      id: 'brv1bkgrwx7q',
      name: 'API Requests',
      status: 'operational',
      created_at: '2017-01-31T20:01:46.621Z',
      updated_at: '2022-11-09T01:54:01.951Z',
      position: 2,
      description: 'Requests for GitHub APIs',
      showcase: false,
      start_date: null,
      group_id: null,
      page_id: 'kctbh9vrtdwd',
      group: false,
      only_show_if_degraded: false
    },
    {
      id: '4230lsnqdsld',
      name: 'Webhooks',
      status: 'operational',
      created_at: '2019-11-13T18:00:24.256Z',
      updated_at: '2022-11-09T01:54:07.258Z',
      position: 3,
      description: 'Real time HTTP callbacks of user-generated and system events',
      showcase: false,
      start_date: null,
      group_id: null,
      page_id: 'kctbh9vrtdwd',
      group: false,
      only_show_if_degraded: false
    },
    {
      id: '0l2p9nhqnxpd',
      name: 'Visit www.githubstatus.com for more information',
      status: 'operational',
      created_at: '2018-12-05T19:39:40.838Z',
      updated_at: '2022-09-07T00:08:33.519Z',
      position: 4,
      description: null,
      showcase: false,
      start_date: null,
      group_id: null,
      page_id: 'kctbh9vrtdwd',
      group: false,
      only_show_if_degraded: false
    },
    {
      id: 'kr09ddfgbfsf',
      name: 'Issues',
      status: 'operational',
      created_at: '2017-01-31T20:01:46.638Z',
      updated_at: '2022-11-09T01:54:04.113Z',
      position: 5,
      description: 'Requests for Issues on GitHub.com',
      showcase: false,
      start_date: null,
      group_id: null,
      page_id: 'kctbh9vrtdwd',
      group: false,
      only_show_if_degraded: false
    },
    {
      id: 'hhtssxt0f5v2',
      name: 'Pull Requests',
      status: 'operational',
      created_at: '2020-09-02T15:39:06.329Z',
      updated_at: '2022-11-09T01:54:06.027Z',
      position: 6,
      description: 'Requests for Pull Requests on GitHub.com',
      showcase: false,
      start_date: null,
      group_id: null,
      page_id: 'kctbh9vrtdwd',
      group: false,
      only_show_if_degraded: false
    },
    {
      id: 'br0l2tvcx85d',
      name: 'Actions',
      status: 'operational',
      created_at: '2019-11-13T18:02:19.432Z',
      updated_at: '2022-11-18T04:11:58.048Z',
      position: 7,
      description: 'Workflows, Compute and Orchestration for GitHub Actions',
      showcase: false,
      start_date: null,
      group_id: null,
      page_id: 'kctbh9vrtdwd',
      group: false,
      only_show_if_degraded: false
    },
    {
      id: 'st3j38cctv9l',
      name: 'Packages',
      status: 'operational',
      created_at: '2019-11-13T18:02:40.064Z',
      updated_at: '2022-11-09T01:54:04.600Z',
      position: 8,
      description: 'API requests and webhook delivery for GitHub Packages',
      showcase: false,
      start_date: null,
      group_id: null,
      page_id: 'kctbh9vrtdwd',
      group: false,
      only_show_if_degraded: false
    },
    {
      id: 'vg70hn9s2tyj',
      name: 'Pages',
      status: 'operational',
      created_at: '2017-01-31T20:04:33.923Z',
      updated_at: '2022-11-09T01:54:05.104Z',
      position: 9,
      description: 'Frontend application and API servers for Pages builds',
      showcase: false,
      start_date: null,
      group_id: null,
      page_id: 'kctbh9vrtdwd',
      group: false,
      only_show_if_degraded: false
    },
    {
      id: 'h2ftsgbw7kmk',
      name: 'Codespaces',
      status: 'operational',
      created_at: '2021-08-11T16:02:09.505Z',
      updated_at: '2022-11-20T19:55:55.204Z',
      position: 10,
      description: 'Orchestration and Compute for GitHub Codespaces',
      showcase: false,
      start_date: '2021-08-11',
      group_id: null,
      page_id: 'kctbh9vrtdwd',
      group: false,
      only_show_if_degraded: false
    },
    {
      id: 'pjmpxvq2cmr2',
      name: 'Copilot',
      status: 'partial_outage',
      created_at: '2022-06-21T16:04:33.017Z',
      updated_at: '2022-11-25T04:13:55.392Z',
      position: 11,
      description: null,
      showcase: false,
      start_date: '2022-06-21',
      group_id: null,
      page_id: 'kctbh9vrtdwd',
      group: false,
      only_show_if_degraded: false
    }
  ],
  incidents: [
    {
      id: '69flmdbxhtsk',
      name: 'Incident with Copilot',
      status: 'investigating',
      created_at: '2022-11-25T04:13:49.067Z',
      updated_at: '2022-11-25T05:16:11.047Z',
      monitoring_at: null,
      resolved_at: null,
      impact: 'minor',
      shortlink: 'https://stspg.io/dtmycfy7r5p6',
      started_at: '2022-11-25T04:13:49.061Z',
      page_id: 'kctbh9vrtdwd',
      incident_updates: [Array],
      components: [Array]
    }
  ],
  scheduled_maintenances: [],
  status: { indicator: 'minor', description: 'Minor Service Outage' }
}
</code></pre></div>
<h3 dir="auto">Axios Version</h3>
<p dir="auto">1.2.0</p>
<h3 dir="auto">Adapter Version</h3>
<p dir="auto"><em>No response</em></p>
<h3 dir="auto">Browser</h3>
<p dir="auto">Node.js</p>
<h3 dir="auto">Browser Version</h3>
<p dir="auto">N/A</p>
<h3 dir="auto">Node.js Version</h3>
<p dir="auto">16.18.0</p>
<h3 dir="auto">OS</h3>
<p dir="auto">macOS 13</p>
<h3 dir="auto">Additional Library Versions</h3>
<div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="N/A"><pre class="notranslate">N/A</pre></div>
<h3 dir="auto">Additional context/Screenshots</h3>
<div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="N/A"><pre class="notranslate">N/A</pre></div>
<p dir="auto">I'm trying to use Axios to test my data management on my Vue.js app. I'm able to do the <code class="notranslate">axios.get()</code>, but the <code class="notranslate">axios.post()</code> is returning a 404 error, indicating the JSON file was not found.</p>
<p dir="auto">Here is how my Vue component script seems like:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&lt;script&gt;
import axios from &quot;axios&quot;;

export default {
  name: &quot;App&quot;,
  data() {
    return {
      title: &quot;Códigos FGO&quot;,
      accounts: null
    };
  },
  methods: {
    getAccounts() {
      axios
        .get(&quot;./json/accounts.json&quot;)
        .then(json =&gt; (this.accounts = json.data));
    },
    postAccount(acc) {
      axios
        .post(&quot;./json/accounts.json&quot;, acc)
        .then(response =&gt; console.log(response));
    }
  },
  created() {
    this.getAccounts();
    console.log(&quot;Foi&quot;);
    this.postAccount({
      id: 3,
      code: &quot;TesteAxiosComponent&quot;,
      server: &quot;NA&quot;,
      ssr: 5,
      notable: [
        {
          name: &quot;Ramon&quot;,
          level: 100,
          npLvl: 5
        }
      ]
    });
  }
};
&lt;/script&gt;"><pre class="notranslate"><code class="notranslate">&lt;script&gt;
import axios from "axios";

export default {
  name: "App",
  data() {
    return {
      title: "Códigos FGO",
      accounts: null
    };
  },
  methods: {
    getAccounts() {
      axios
        .get("./json/accounts.json")
        .then(json =&gt; (this.accounts = json.data));
    },
    postAccount(acc) {
      axios
        .post("./json/accounts.json", acc)
        .then(response =&gt; console.log(response));
    }
  },
  created() {
    this.getAccounts();
    console.log("Foi");
    this.postAccount({
      id: 3,
      code: "TesteAxiosComponent",
      server: "NA",
      ssr: 5,
      notable: [
        {
          name: "Ramon",
          level: 100,
          npLvl: 5
        }
      ]
    });
  }
};
&lt;/script&gt;
</code></pre></div>
<p dir="auto"><strong>Environment:</strong></p>
<ul dir="auto">
<li>Axios Version 0.19.2</li>
<li>OS: Pop!_OS 20.04</li>
<li>Browser Chrome</li>
<li>Vue.js 2.6.11</li>
</ul>
<p dir="auto">EDIT: Please ignore the duplicated error, it was made because I saved the file without refreshing the page.<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/32439550/84417363-e3754880-abeb-11ea-91ee-d1d0ce2e5feb.png"><img src="https://user-images.githubusercontent.com/32439550/84417363-e3754880-abeb-11ea-91ee-d1d0ce2e5feb.png" alt="image" style="max-width: 100%;"></a></p>