Go发起外部Http请求与简单文件操作 2024-5-09 22:28 | 52 | 0 | Golang | 2024-5-09 22:28 246 字 | 5 分钟 1.Go发起Post请求 post请求常用的参数及设置, 1.url:url需要支持post方式 2.请求负载:需要发送的数据,需要go中需要将map转为json 3.请求头:设置请求内容:"… golang