Comments (7)
你可以自己拼接json字符串,最后调 runapi.setParamJson(json) //设置请求参数为json的json对象
from showdoc.
这个拼接过程,你使用标准的js语法来拼接。
from showdoc.
只能这样呢,不能像postman那样,直接替换,然后其它参数不变,格式也不变。
from showdoc.
这个是可以有。晚点在json中支持使用环境变量。
from showdoc.
期待新版本
from showdoc.
我今天才认真调试这个问题。
我发现,json中本来就已经支持使用环境变量了的。在你上面的例子中,你应该 runapi.setVar("api_sign","xxxxxxxxxxxx") 的方式来写变量。该变量会自动替换原json中的{{api_sign}}
from showdoc.
所以runapi不需要再改变什么。
from showdoc.
Related Issues (20)
- 关于下载类接口的bug HOT 6
- 请问有什么办法能统计多少个接口文件吗? HOT 2
- oauth2授权登录,报错 HOT 3
- 同级目录创建两个相同文件夹名称的问题 HOT 4
- 同一目录下创建两个相同的文件名称问题 HOT 1
- 文件导出markdown格式时,文件名称非创建的文件名称问题 HOT 9
- 同一目录创建两个相同的文件名称问题
- 获取图片资源的url耗时1s以上 HOT 4
- 关于接口版本管理的问题 HOT 12
- 希望优化 HOT 2
- 对网页版项目列表展示的一点意见 HOT 1
- 页面排版建议 HOT 5
- 无序列表无法嵌套列表 HOT 4
- 希望客户端和网页能展示当前页面由谁创建的和创建时间 HOT 2
- 如何将内部链接内容直接显示在其他页面中,而不是只通过链接去另一个页面显示 HOT 1
- 求助,上传大于1G的文件,上传完没有显示出来。 HOT 2
- 【BUG】新建接口后, 文档和文件夹全部错误 HOT 5
- 软件闪退 HOT 4
- 全屏页面内滚动条不好找, 不方便拖动 HOT 5
- TOC目录问题 HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from showdoc.