all-about-apikey/screenshotlayer
Muhammad Daffa 2eba183f8b Added 13 templates 2022-08-18 14:40:21 +07:00
..
README.md Added 13 templates 2022-08-18 14:40:21 +07:00

README.md

screenshotlayer

Description

URL 2 Image

Example Request

  • Curl
curl "http://api.screenshotlayer.com/api/capture?access_key={{token}}&url=http%3A%2F%2Fgoogle.com"
  • Raw
GET /api/capture?access_key={{token}}&url=http%3A%2F%2Fgoogle.com HTTP/1.1
Host: api.screenshotlayer.com
...

Response

  • Success
Google image will appear
  • Error
{
    "success":false,
    "error":{
        "code":101,
        "type":"invalid_access_key",
        "info":"You have not supplied a valid API Access Key. [Technical Support: support@apilayer.com]"
    }
}

Regex

[a-z0-9]{32}

Example API key

tue3sv9hzsey1me4l7fwq3t46u5k8wag