没有合适的资源?快使用搜索试试~ 我知道了~
files-api:文件的 RESTful api
共12个文件
js:4个
jpg:3个
txt:2个
需积分: 5 0 下载量 53 浏览量
2021-06-25
09:19:18
上传
评论
收藏 1.01MB ZIP 举报
温馨提示
文件 API 用于管理文件资源的 RESTful json 服务器。 用法 导出可由 Express 应用程序安装的路由器。 var express = require('express') , files = require('./lib/files-api') , app = express(); app.use('/api/files',files({ // base directory of files to manage baseDir: path.join(__dirname, '/public/uploads/'), // base URL to where the files are publicly available. // Decoupled from the api, and can be absolute. baseUrl: '/
资源推荐
资源详情
资源评论
收起资源包目录
files-api-master.zip (12个子文件)
files-api-master
index.js 44B
package.json 870B
readme.md 2KB
test
index.js 10KB
fixtures
big-easy-lofton.jpg 56KB
2b-clobbered.jpg 17B
foo
touched.txt 0B
bar
touched.txt 7B
plaid-kitty.jpg 972KB
app-example.js 550B
.gitignore 97B
lib
files-api.js 10KB
共 12 条
- 1
资源评论
锦宣
- 粉丝: 18
- 资源: 4564
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功