文件(或文件)上传的loopback-component-storage doc说:
loopback documentation
描述:
Upload one or more files into the specified container. The request
body must use multipart/form-data which the file input type for HTML
uses.
方法:
upload(req,res,cb)
REST URI:
POST
/api/containers/:container/upload
有人请展示如何在Angular / Javascript中创建此multipart / form请求的示例吗?
最佳答案
原文链接:/js/429018.html