/random_cat

random cat image for you!

Primary LanguagePythonMIT LicenseMIT

Random Cat!

Request

Type A

Step 1

  1. goto /cat
  2. then api will return cat id!

Step 2

  1. goto /cat/{cat_id}
  2. then server will return Image or JSON(error)!

Type B

Step 1

  1. goto /meow
  2. then server will return Image or JSON(error)!

Response

JSON

{
    "error": "reason of error"
}

Image

  • type will be png, jpg or gif.
  • filename will be cat.extension