你可以尝试这样的方式,
$headers = array();
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, "https://mercury.postlight.com/parser?url=https://trackchanges.postlight.com/building-awesome-cms-f034344d8ed");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "GET");
$headers[] = "X-Api-Key: randomApiKeyVKkt9HyNzYpnSKQlYriOxuivgSM";
curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
$result = curl_exec($ch);
if (curl_errno($ch)) {
echo 'Error:' . curl_error($ch);
}
curl_close ($ch);
print '<pre>';
print_r($result);
print '</pre>';
[Curl和PHP可能的重复 - 如何通过curl通过PUT,POST,GET来传递json](https://stackoverflow.com/questions/21271140/curl-and-php-how-can-i- pass-a-json-through-curl-by-put-post-get) –