I used webupload to upload a picture to the server (node service), and then I want to upload the picture directly to the Alibaba Cloud picture server through the node service
The problem is that the req.files file can now be obtained on the node side, as shown below, but how to convert this into a buffer or file stream so that it can be uploaded to the Alibaba Cloud server? Thank you.
Official DEMO
new Buffer(JSON.stringify(str))