README updated.
This commit is contained in:
parent
275e3c500b
commit
49a64f553e
@ -3,15 +3,15 @@ justcaptcha ver. 2.0.0
|
||||
|
||||
A simple CAPTCHA service implementation.
|
||||
|
||||
## Usage
|
||||
## Service usage
|
||||
|
||||
justcaptchad -expiry 5m -listen /var/run/justcaptcha/c.sock
|
||||
justcaptchad -expiry 10m -listen /var/run/justcaptcha/sock
|
||||
|
||||
`-expiry` takes time for CAPTCHA to be valid for in format X{s,m,h}.
|
||||
|
||||
`-listen` is `ip:port` or `/path/to/unix.sock` to listen on.
|
||||
|
||||
## API
|
||||
## Service HTTP API
|
||||
|
||||
### Errors
|
||||
|
||||
@ -33,7 +33,7 @@ It will return an ID of a new CAPTCHA in `text/plain`.
|
||||
Responds with an image in JPEG format (`image/jpeg`).
|
||||
|
||||
An optional URL parameter `style=` set a name of a CAPTCHA style if it is
|
||||
implemented by used CAPTCHA implementation.
|
||||
supported by CAPTCHA implementation.
|
||||
|
||||
#### HTTP codes
|
||||
- `200` if exists
|
||||
|
Loading…
Reference in New Issue
Block a user