没有合适的资源?快使用搜索试试~ 我知道了~
endpoint-imposter:声明式,有状态,快速和可重用的HTTP模拟
共37个文件
js:27个
cert:2个
json:2个
需积分: 9 0 下载量 15 浏览量
2021-05-15
09:37:08
上传
评论
收藏 74KB ZIP 举报
温馨提示
端点冒名顶替者 只需创建一个包含模拟的文件, // mocks.js module . exports = [ { request : { path : '/todos' } , response : { json : [ 'a' , 'b' , 'c' ] } , } ] 告诉Endpoint Imposter在哪里可以找到此文件, $ npx endpoint-imposter --port 3000 --mocks mocks.js 并享受您的模拟服务器! $ curl http://localhost:3000/sessionId/todos ["a","b","c"]% 有关详细说明和更多示例,请查看 。
资源推荐
资源详情
资源评论
收起资源包目录
endpoint-imposter-master.zip (37个子文件)
endpoint-imposter-master
jest.setup.js 89B
LICENSE.txt 1KB
src
admin.js 3KB
sessions.js 2KB
server.cert 1KB
index.js 5KB
server.key 2KB
mocks.js 4KB
testutils
server.js 3KB
mocks
health
mocks
syntax
different_correct
index.js 95B
incorrect
index.js 114B
correct
index.js 439B
pathPrefix
index.js 362B
requests
index.js 785B
sessions
index.js 890B
responses
index.js 1KB
reloading
v2
sub
subfile.js 253B
v1
sub
subfile.js 588B
index.js 61B
pendingResponses
index.js 4KB
https
index.js 96B
server.cert 1KB
server.key 2KB
.npmignore 48B
jest.config.js 56B
__tests__
health
mocks
syntax.js 1KB
sessions.js 3KB
requests.js 3KB
https.js 947B
pathPrefix.js 670B
reloading.js 1KB
pendingResponses.js 7KB
responses.js 2KB
README.md 541B
.gitignore 22B
package-lock.json 182KB
package.json 583B
共 37 条
- 1
资源评论
仰光的瑞哥
- 粉丝: 14
- 资源: 4623
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功