
使用file_get_contents发送post请求带上body
$content = stream_context_create([
'http' => [
'method' => "POST",
'content' => http_build_query($args),
'timeout' => 60
]
]);
$response = file_get_contents($url, false, $content);