nyan! nyan! I'm cute cat!

/

GET

root page

cat

/api/cat

GET

get current name and age.

POST

set name and age from query parameter.

Query parameters
namenumtypedescription
nameoptionalTextname of cat
ageoptionalInt
  • age of cat.
  • cute!

/api/cat/:Text1/:Int2

#typedescription
1Text
  • name of cat.
  • if null, homeless.
2Intage

POST

set name and age from route.