title: Use content-disposition with Axios and NodeJS
body: <p>Hi guys I'm using <code>nodejs</code> and trying the API from <a href="https://www.lalal.ai/api/help/" rel="nofollow noreferrer">https://www.lalal.ai/api/help/</a></p>
  <pre><code>$ curl --url https://www.lalal.ai/api/upload/ --data-binary @any_file.mp3 --header &quot;Content-Disposition: attachment; filename=any_file.mp3&quot; --header &quot;Authorization: license 14abcde0&quot;
  </code></pre>
  <p>This is my code</p>
  <pre><code>app.post(&quot;/uploads&quot;, upload.any(&quot;tmparr&quot;), async (req, res, next) =&gt; {
    const ucuk = req.files[0];
    // console.log(ucuk);
  
    Axios.post(&quot;https://www.lalal.ai/api/upload/&quot;, {
      headers: {
        &quot;Content-Disposition&quot;: `attachment; filename=${ucuk.path}`,
        Authorization: &quot;license ec2a55f4&quot;,
      },
    }).then((res) =&gt; {
      console.log(res);
    });
  })
  </code></pre>
  <p>And I got this error</p>
  <pre><code>(node:31608) UnhandledPromiseRejectionWarning: Error: Request failed with status code 405
      at createError (D:\reactjs\crud-mern\server\node_modules\axios\lib\core\createError.js:16:15)
      at settle (D:\reactjs\crud-mern\server\node_modules\axios\lib\core\settle.js:17:12)
  </code></pre>
  <p>Can someone explain to me why that is error and how to fix it ? :D</p>