javascript - webupload uploads images to node service
曾经蜡笔没有小新
曾经蜡笔没有小新 2017-07-05 10:37:35
0
2
673

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.

曾经蜡笔没有小新
曾经蜡笔没有小新

reply all (2)
女神的闺蜜爱上我

Official DEMO

    Peter_Zhu

    new Buffer(JSON.stringify(str))

      Latest Downloads
      More>
      Web Effects
      Website Source Code
      Website Materials
      Front End Template
      About us Disclaimer Sitemap
      php.cn:Public welfare online PHP training,Help PHP learners grow quickly!