file_get_contents 模拟 post
$en = '{"q": "data","source": "en","target": "zh","format": "text","alternatives": 3,"api_key": ""}';
$options = array(
'http'=>array(
'method'=>"POST",
'header'=>"Content-Type: application/json",
'content' => $en
)
);
$context = stream_context_create($options);
$data = file_get_contents("https://xxxxx.net/xxxxx", false, $context);