Skip to content
New issue

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

whistle可以不设置代理,直接作为mock服务器使用吗 #1090

Closed
Shawn1 opened this issue May 28, 2024 · 5 comments
Closed

whistle可以不设置代理,直接作为mock服务器使用吗 #1090

Shawn1 opened this issue May 28, 2024 · 5 comments

Comments

@Shawn1
Copy link

Shawn1 commented May 28, 2024

可以不设置代理,直接使用ip和端口请求,作为mock服务器使用吗?
现在看是不是不太行,浏览器设置代理可以正常请求,但是直接使用postman调,使用返回 cannot xxx

@Shawn1
Copy link
Author

Shawn1 commented May 28, 2024

image

@avwo
Copy link
Owner

avwo commented May 28, 2024

需要配规则 http://ip:port/path/to operation,并使用 http://ip:port/-/path/to 的访问访问

@Shawn1
Copy link
Author

Shawn1 commented May 28, 2024

成功了,感谢大佬😄。
顺便在咨询一下,官方推荐whistle作为不使用代理、直接调用的mock服务器使用么?

@avwo
Copy link
Owner

avwo commented May 28, 2024

官方不限制这种用法

@Shawn1
Copy link
Author

Shawn1 commented May 28, 2024

好的,感谢感谢😄

@avwo avwo closed this as completed May 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants