Monthly: 九月 2019

PHP cURL 配置代理及关闭ssl验证

PHP二次开发 PHP 39 次浏览 ,
[codesyntax lang="php"] <?php $content = '提交内容'; $ch = curl_init('https://www.baidu.com'); curl_setopt_array($ch, array( CURLOPT_POST => TRUE, CURLOPT_RETURNTRANSFER => TRUE, // 配置代...

Beego Httplib 设置代理

PHP二次开发 Golang 31 次浏览 ,
[codesyntax lang="c"] package main import ( "fmt" "github.com/astaxie/beego/httplib" "net/http" "net/url" "time" ) func main() { content := "提交内容" req := httplib.Post("https://www.baidu.com")...
Go