- 测试代理功能需要启动两个独立的服务,一个是代理服务,一个是目标服务
- 先默认启动Application
- 再添加一个启动类TargetApplication,指定配置文件 -Dspring.config.name=application-a ,然后启动即可测试
- 访问 http://localhost:8080/proxy/user/save 查看代理服务返回结果
springboot-proxy
Directory actions
More options
Directory actions
More options
springboot-proxy
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
parent directory.. | ||||