Random Famous Quotes

FREEMIUM
By Andres Olvera | Updated 4 days ago | Data
Popularity

9.5 / 10

Latency

469ms

Service Level

100%

Health Check

N/A

Back to All Discussions

Response return error as body

Rapid account: Arecvlohe
arecvlohe
7 years ago

I hit the api correctly, meaning I get a 200 Ok, but the response is not json, instead it is:

Warning: mt_rand(): max(0) is smaller than min(1) in /home/andrux/public_html/api/quotes/get.php on line 21 null

Rapid account: Andruxnet
andruxnet Commented 7 years ago

You were probably requesting a non existing category. Currently only Famous and Movies are supported, but I have fixed the script now to give you any category when the one you requested does not exist.

Join in the discussion - add comment below:

Login / Signup to post new comments