diff --git a/README.md b/README.md index 256c0d3..1efbb82 100644 --- a/README.md +++ b/README.md @@ -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