In README.md added style query parameter for image endpoint and its description.
This commit is contained in:
parent
96c13ec6b2
commit
ffbc79ce4b
@ -24,10 +24,13 @@ It will return an ID of a new captcha in plaintext.
|
|||||||
|
|
||||||
### Get an image for a captcha
|
### Get an image for a captcha
|
||||||
|
|
||||||
GET /:captcha_id/image
|
GET /:captcha_id/image?style=
|
||||||
|
|
||||||
Responds with an image (e.g. in PNG format).
|
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
|
#### HTTP codes
|
||||||
- `200` if exists
|
- `200` if exists
|
||||||
- `404` if doesn't exist
|
- `404` if doesn't exist
|
||||||
|
Loading…
Reference in New Issue
Block a user