springboot中restTemplate的使用
这篇博客只是记录,供自己参考使用
SpringMVC提供 RestTemplate请求http接口,RestTemplate的底层可以使用第三方的http客户端工具实现http 的 请求
1.添加依赖
<dependency>
<groupId>com.squareup.okhttp3</groupId>
<artifactId...
原创
2018-12-19 22:19:54 ·
4803 阅读 ·
3 评论