PHP

Php example
//GET request
$base_url = "https://api.wepdf.io/v1/";
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => $base_url.
"render?apikey=YOUR_API_KEY&url=https://en.wikipedia.org/wiki/PDF&pdf.landscape=true",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => array('Content-Type:application/json'),
));
$response = curl_exec($curl);
file_put_contents('wepdf.pdf', $response);