代码改变世界

随笔档案-2021年5月14日

golang https 调用禁用ssl校验

2021-05-14 17:56 by 方斌, 853 阅读, 收藏,
摘要: package main import ( "crypto/tls" "fmt" "io/ioutil" "net/http" ) func main() { tr := &http.Transport{ TLSClientConfig: &tls.Config{InsecureSkipVerify 阅读全文