Open waitshang opened 3 years ago
Yes, you can do this.
Refer to Moco composite API design
能不能通过config.json配置实现?post请求不同参数,返回不同response
@liangguohao66 You can match different parameters.
Refer to API document: https://github.com/dreamhead/moco/blob/master/moco-doc/apis.md
@liangguohao66 You can match different parameters.
Refer to API document: https://github.com/dreamhead/moco/blob/master/moco-doc/apis.md
我的请求json是嵌套的,没找到样例啊
@liangguohao66 You can match different parameters.
Refer to API document: https://github.com/dreamhead/moco/blob/master/moco-doc/apis.md
我的请求json是嵌套的,没找到样例啊
@liangguohao66 Try JsonPath
it works . Thanks!
请求1:
请求2:
他们都请求/path/demo