From 88378855390a2243767dfede7c14cc02e55eb895 Mon Sep 17 00:00:00 2001 From: hrj Date: Thu, 1 Apr 2021 17:02:59 +0530 Subject: [PATCH] README: add instructions for testing installation --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index c1f7a3c..e55c1ce 100644 --- a/README.md +++ b/README.md @@ -28,6 +28,12 @@ docker run -v lcdata:/lc-core/data librecaptcha/lc-core:latest A default `config.json` is automatically created in the mounted volume. +To test the installation, try: + +``` +curl -d '{"media":"image/png","level":"easy","input_type":"text"}' localhost:8888/v1/captcha +``` + ## Configuration If a `config.json` file is not present in the `data/` folder, the app creates one, and this can be modified to customize the app features, such as which CAPTCHAs are enabled and their difficulty settings.