首页
新闻
博问
专区
闪存
班级
我的博客
我的园子
账号设置
退出登录
注册
登录
陶士涵的菜地
博客园
首页
新随笔
联系
订阅
管理
2021年2月9日
[Go] Go语言实现post请求时发送header头信息
摘要:有些接口需要增加header头信息 , 里面传递token , 这个时候就要求在post的时候能传递自己的header信息 func PostHeader(url string, msg []byte, headers map[string]string) (string, error) { cli
阅读全文
posted @ 2021-02-09 14:38 陶士涵
阅读(23)
评论(0)
推荐(0)
编辑