<h4 dir="auto">Describe the bug</h4>
<p dir="auto">When using axios.delete and sending config.data, the server receives no body</p>
<h4 dir="auto">To Reproduce</h4>
<p dir="auto">Make a call using axios delete and send data via the config object. This used to work in v0.19.2 but doesn't work in v0.20.0 anymore.</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="axios.delete(BASE_URL + '/user', {
    headers: {
        Authorization: this.authToken
    },
    data: {'userId':'abcd1234'}
})"><pre class="notranslate"><span class="pl-s1">axios</span><span class="pl-kos">.</span><span class="pl-en">delete</span><span class="pl-kos">(</span><span class="pl-c1">BASE_URL</span> <span class="pl-c1">+</span> <span class="pl-s">'/user'</span><span class="pl-kos">,</span> <span class="pl-kos">{</span>
    <span class="pl-c1">headers</span>: <span class="pl-kos">{</span>
        <span class="pl-c1">Authorization</span>: <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">authToken</span>
    <span class="pl-kos">}</span><span class="pl-kos">,</span>
    <span class="pl-c1">data</span>: <span class="pl-kos">{</span><span class="pl-s">'userId'</span>:<span class="pl-s">'abcd1234'</span><span class="pl-kos">}</span>
<span class="pl-kos">}</span><span class="pl-kos">)</span></pre></div>
<h4 dir="auto">Expected behavior</h4>
<p dir="auto">Server should receive data-&gt; body</p>
<h4 dir="auto">Environment</h4>
<ul dir="auto">
<li>Axios Version [0.20.0]</li>
<li>Node.js Version [12.18.3]</li>
</ul>
<h4 dir="auto">Additional context/Screenshots</h4>
<p dir="auto">using v0.19.2 server gets:<br>
'body': '{"userId":"abcd1234"}'</p>
<p dir="auto">using v0.20.0 server gets:<br>
'body': None</p>
<h4 dir="auto">Describe the bug</h4>
<p dir="auto">Axios last version (0.20.0) does not use data from config when making DELETE request. In 0.19.2 it's working fine</p>
<h4 dir="auto">To Reproduce</h4>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="axios.delete(&quot;...&quot;, { 
    data: { ids: [...] },
}).then(response =&gt; {
    ...
}).catch(error =&gt; {
    ...
});"><pre class="notranslate"><span class="pl-s1">axios</span><span class="pl-kos">.</span><span class="pl-en">delete</span><span class="pl-kos">(</span><span class="pl-s">"..."</span><span class="pl-kos">,</span> <span class="pl-kos">{</span> 
    <span class="pl-c1">data</span>: <span class="pl-kos">{</span> <span class="pl-c1">ids</span>: <span class="pl-kos">[</span>...<span class="pl-kos">]</span> <span class="pl-kos">}</span><span class="pl-kos">,</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">response</span> <span class="pl-c1">=&gt;</span> <span class="pl-kos">{</span>
    ...
<span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">catch</span><span class="pl-kos">(</span><span class="pl-s1">error</span> <span class="pl-c1">=&gt;</span> <span class="pl-kos">{</span>
    ...
<span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div>
<h4 dir="auto">Expected behavior</h4>
<p dir="auto">Axios send request data from config when making DELETE request</p>
<h4 dir="auto">Environment</h4>
<ul dir="auto">
<li>Axios Version 0.20.0</li>
<li>Browser Chrome</li>
<li>Browser Version 84.0.4147.125</li>
<li>Node.js Version 12.18.3</li>
<li>OS: Linux Mint</li>
<li>Additional Library Versions React 16.13.1</li>
</ul>
<h4 dir="auto">Additional context/Screenshots</h4>
<p dir="auto">None</p>