\CURLExtensions

Summary

Methods
Properties
Constants
POST()
GET()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
shell()
No private properties found
N/A

Methods

POST()

POST(string  $url, array  $data = NULL, string  $userAgent = NULL) 

模拟提交数据函数

Parameters

string $url

remote api url

array $data

发送的数据包

string $userAgent

可以通过这个可选参数进行浏览器模拟

GET()

GET(  $url,   $data = NULL) 

Parameters

$url
$data

shell()

shell(  $curl) 

Parameters

$curl