小编tri*_*212的帖子

如何在 GoLang 中使用 https 请求发送 cacert 、 cert 和 key ?

我是 Go 语言的新手。任何人都可以帮助我使用 GoLang 中的代码来处理以下卷曲请求。

curl -v --cacert ca.crt --cert tls.crt --key tls.key --location --request POST 'https://<.......>' --header 'Content-Type: application/x-www-form-urlencoded'
Run Code Online (Sandbox Code Playgroud)

https curl go

4
推荐指数
1
解决办法
1813
查看次数

标签 统计

curl ×1

go ×1

https ×1