diff --git a/README.md b/README.md index 79a2bd6..a2025b4 100644 --- a/README.md +++ b/README.md @@ -42,6 +42,26 @@ curl -X 'POST' \ -d '{ "text": "普通" }' ``` +### Example 3: Generated CAPTCHA images can be in a different colors + +![banner](docs/captcha_example_colors.gif) + +[![Try it out](https://img.shields.io/badge/-Try%20it%20out-brightgreen?style=for-the-badge)](https://hoppscotch.io/?method=POST&url=https%3A%2F%2Fapi.opencaptcha.io%2Fcaptcha&bodyMode=raw&contentType=application%2Fjson&rawParams=%7B%22text%22%3A%22hello%20world%22%2C%22theme%22%3A%7B%22primaryColor%22%3A%22%23ADD8E6%22%2C%22secondaryColor%22%3A%22%23FFFFFF%22%7D%7D) + + +```bash +curl -X 'POST' \ + 'https://api.opencaptcha.io/captcha' \ + -H 'Content-Type: application/json' \ + -d '{ + "text": "hello world", + "theme": { + "primaryColor": "#ADD8E6", + "secondaryColor": "#FFFFFF" + } + }' +``` + ## Installation ### Option 1: Using Docker (recommended for self-hosting) diff --git a/docs/captcha_example_colors.gif b/docs/captcha_example_colors.gif new file mode 100644 index 0000000..7697521 Binary files /dev/null and b/docs/captcha_example_colors.gif differ diff --git a/docs/captcha_example_multilingual.gif b/docs/captcha_example_multilingual.gif index e8b3945..db71656 100644 Binary files a/docs/captcha_example_multilingual.gif and b/docs/captcha_example_multilingual.gif differ diff --git a/docs/captcha_examples.gif b/docs/captcha_examples.gif index 12728fc..a129d21 100644 Binary files a/docs/captcha_examples.gif and b/docs/captcha_examples.gif differ