From 49a64f553e2068455f1ee56ca041c18478149267 Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Sun, 8 Jan 2023 17:38:51 +0400 Subject: [PATCH] README updated. --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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