Fetch API and multer error while uploading file

后端 未结 2 1619
不知归路
不知归路 2021-01-02 02:35

I\'m trying to use fetch API to upload files to a node.js server (I\'m using github\'s pollyfill if it has something to do with it: https://github.com/github/fetch).

2条回答
  •  無奈伤痛
    2021-01-02 03:18

    For those stumbling upon this post who have the error when using postman make sure to not specify the content-type in the headers.

提交回复
热议问题