php
<?php
$opts = [
"http" => [
"method" => "GET",
"header" => "Authorization: Describe api here"
]
];
$context = stream_context_create($opts);
$screenshot = file_get_contents("https://screendot.io/api/standard?url=https://www.google.com", false, $context);
echo $screenshot
?>
I am trying to take a screenshot using the screendot API, but the screenshot is not output. I'm using the sample code as is, but it won't take. Please help me.