stefanzweifel / screeenly

📸 Screenshot as a Service
https://secure.screeenly.com
MIT License
495 stars 102 forks source link

API not working? #317

Closed quranwbw closed 4 years ago

quranwbw commented 4 years ago

I'm trying to use the API but it's not working. I already have the key and I'm directly using the API in the browser. The error that I'm getting is:

{"title":"An error accoured","message":"An internal error accoured."}

The URL that I'm using is:

http://screeenly.com/api/v1/fullsize?key=API_KEY&url=google.com

Any idea what's wrong?

stefanzweifel commented 4 years ago

Hi there,

The problem is probably that google.com is not a valid URL. A URL should look like this: https://google.com

You can find the documentation off the API here and a PHP Curl example here.