title: I used axios in the nodejs environment to send a picture to the nestjs server, but the server did not get the picture information
body: <p>I use streaming to send images to the server instead of sending the entire image  <a href="https://github.com/axios/axios#request-config" rel="nofollow noreferrer">https://github.com/axios/axios#request-config</a></p>
  
  <pre><code>(async () =&gt; {
    let r = await axios
      .post(`http://localhost:5000/upload`, {
        file: fs.createReadStream("C:\\Users\\Administrator\\Pictures\\a.jpg"),
  
        // Error: Request failed with status code 500
        // file: await fs.readFile("C:\\Users\\Administrator\\Pictures\\a.jpg")
      })
      .then(v =&gt; v.data);
    l(r); // ok
  })();
  </code></pre>
  
  <p>Server code <a href="https://docs.nestjs.com/techniques/file-upload" rel="nofollow noreferrer">https://docs.nestjs.com/techniques/file-upload</a></p>
  
  <pre><code>  @Post('upload')
    @UseInterceptors(FileInterceptor('file'))
    upload(@UploadedFile() file, @Body() body) {
      l(file); // undefined
      return 'ok';
    }
  </code></pre>
  
  <p>I have tried it for a long time, what should I do? </p>