We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mock可以拦截请求,模拟数据都是好的。 项目中很多时候会需要模拟文件流的情况,mock返回的是json字符串,将文件流破坏了,要是可以拦截下载的请求,模拟文件流回传会更出彩。当然,文件可以本地的某特殊文件,word,excel,test,zip,image等
The text was updated successfully, but these errors were encountered:
@ElvenYao 文档流这种可能另一种工具来做比较好一些 https://github.com/wll8/mockm
Sorry, something went wrong.
No branches or pull requests
mock可以拦截请求,模拟数据都是好的。
项目中很多时候会需要模拟文件流的情况,mock返回的是json字符串,将文件流破坏了,要是可以拦截下载的请求,模拟文件流回传会更出彩。当然,文件可以本地的某特殊文件,word,excel,test,zip,image等
The text was updated successfully, but these errors were encountered: