In README.md a little formatting change to highlight HTTP codes.

This commit is contained in:
Alexander Andreev 2022-06-26 21:03:11 +04:00
parent 63e832c217
commit 66d443183f
Signed by: Arav
GPG Key ID: 0388CC8FAA51063F

View File

@ -20,7 +20,7 @@ A simple CAPTCHA service implementation.
It will return an ID of a new captcha in plaintext.
#### HTTP codes
- 200 if created
- `200` if created
### Get an image for a captcha
@ -29,9 +29,9 @@ It will return an ID of a new captcha in plaintext.
Responds with an image (e.g. in PNG format).
#### HTTP codes
- 200 if exists
- 404 if doesn't exist
- 500 if for some reason Image wasn't created
- `200` if exists
- `404` if doesn't exist
- `500` if for some reason Image wasn't created
### Submit an answer
@ -42,9 +42,9 @@ It takes one form-data parameter `answer=123456`.
Responds with empty body and one of HTTP codes.
#### HTTP codes
- 200 if solved
- 403 if not solved
- 404 if doesn't exist
- `200` if solved
- `403` if not solved
- `404` if doesn't exist
### Check if captcha is solved
@ -53,6 +53,6 @@ Responds with empty body and one of HTTP codes.
Responds with empty body and one of HTTP codes.
#### HTTP codes
- 200 if solved
- 403 if not solved
- 404 if doesn't exist
- `200` if solved
- `403` if not solved
- `404` if doesn't exist