会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
HexThinking
鲜衣怒马少年时
博客园
首页
新随笔
联系
订阅
管理
2020年8月25日
浅谈springboot 中如何通过restTemplate发送带有header和token的网络请求
摘要: 最近在进行第三方接口对接,在对接过程中要用到大量的restTemplate的使用,个人觉得restTemplate装载带token的header发送网络请求是很重要的一个知识点,我在这里简单记录下: 第一步,注入TestRestTemplate: @Autowired private TestRes
阅读全文
posted @ 2020-08-25 19:59 HexThinking
阅读(5943)
评论(0)
推荐(0)
编辑
公告