Open q2qiang opened 7 years ago
比如说,我现在有一个登录接口,但是这个登录接口依赖一个验证码接口,验证码接口返回success就登录成功,返回failed 就登录失败,可以用on实现这个功能么
If you want to integrate a third party interface, try proxy
The better option is to use Moco as verfication code stub to return what you need.
if want get a complex json ,for example {"a":{"c":"1"},"b":{"d":"2"}} ,how to do
You may need Json Response
when i want this cam to be a service , i use this command is not available nohup java -jar moco.jar http -p 12306 -g rule.json -s 9527> ./log/log.txt &
Could you please give me more details about your scenario?