In README.md added style query parameter for image endpoint and its description.

This commit is contained in:
Alexander Andreev 2022-06-27 01:21:16 +04:00
parent 96c13ec6b2
commit ffbc79ce4b
Signed by: Arav
GPG Key ID: 0388CC8FAA51063F

View File

@ -24,10 +24,13 @@ It will return an ID of a new captcha in plaintext.
### Get an image for a captcha
GET /:captcha_id/image
GET /:captcha_id/image?style=
Responds with an image (e.g. in PNG format).
An optional query parameter `style=` could be supplied if captcha implementation
support different styles.
#### HTTP codes
- `200` if exists
- `404` if doesn't exist