title: Axios - Cannot use 'in' operator to search for 'validateStatus'
body: <p>I'm having the following issue when I try to delete a register by axios:</p>
  <p>Cannot use 'in' operator to search for 'validateStatus' in {&quot;name_group&quot;:&quot;BBBB&quot;,&quot;UMB&quot;:&quot;BS&quot;}</p>
  <p>This is my code to delete the register:</p>
  <pre><code>    export const deleteProduct= async (product) =&gt; {
          const params = JSON.stringify({
          &quot;name_group&quot;:product.name_group,
          &quot;UMB&quot;: product.UMB
          });
      
          return await axios.delete(&quot;https://anyDomanin.cloud/Inventory/products/&quot;, params,{
              &quot;headers&quot;: {
                &quot;content-type&quot;: &quot;application/json&quot;,
              },
            });
      };
  </code></pre>
  <p>The create, update and get functions work perfectly, but when I delete appears this issue.</p>
  <p>Current version of axios: 0.20.0</p>
  <p>PD: When I do it by postman delete works, but when I do it by my WebApp doesn't work.</p>
  <p><strong>Edit:</strong></p>
  <p>I tried this, but also it did not work:</p>
  <pre><code>
      export const deleteProduct= async (product) =&gt; {
  
      const params = JSON.stringify({
      &quot;name_group&quot;:product.name_group,
      &quot;UMB&quot;: product.UMB
      });
  
      const config = {
        headers: {
          &quot;content-type&quot;: &quot;application/json&quot;,
        },
        body: params
       
      }
  
      return await axios.delete(&quot;https://anyDomanin.cloud/Inventory/products/&quot;, config);
  };
  
  </code></pre>