servant/examples/counter.md

389 B

POST /counter

Response:

  • Status code 201
  • Response body as below.
{"value":0}

GET /doc

Response:

  • Status code 200
  • No response body

GET /counter

Response:

  • Status code 200
  • Response body as below.
{"value":0}

GET /

Response:

  • Status code 200
  • No response body