API documentation

/

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
ageoptionalIntage of cat

/api/cat/:Text1/:Int2

Route Parameters
#typedescription
1Textname
2Intage

POST

set name and age from route.