Improve captcha documentation to provide example captcha string format

Signed-off-by: Jason Trumpio <jason@trumpio.com>
This commit is contained in:
Jason Trumpio 2025-12-04 23:25:42 -05:00
parent 9ea4407ac2
commit a7f531d17f
No known key found for this signature in database

View File

@ -23,7 +23,7 @@ e.g:
When you try to register a number, if you receive a response like `{"error":"Captcha required for verification (null)\n"}` then Signal is requiring a captcha. To register the number you must do the following: When you try to register a number, if you receive a response like `{"error":"Captcha required for verification (null)\n"}` then Signal is requiring a captcha. To register the number you must do the following:
1. Go to [https://signalcaptchas.org/registration/generate.html](https://signalcaptchas.org/registration/generate.html) 1. Go to [https://signalcaptchas.org/registration/generate.html](https://signalcaptchas.org/registration/generate.html)
2. Open the developer console 2. Open the developer console
3. Find the line that looks like this: `Prevented navigation to “signalcaptcha://{captcha value}” due to an unknown protocol.` Copy the captcha value (e.g. "signal-hcaptcha-short.xxxxx.registration.yyyyyy"). Note: do not include "signalcaptcha://". 3. Find the line that looks like this: `Prevented navigation to “signalcaptcha://{captcha value}” due to an unknown protocol.` Copy the captcha value (e.g. “signal-hcaptcha-short.xxxxx.registration.yyyyyy”). Note: do not include “signalcaptcha://”.
4. Use it to make the registration call like this: 4. Use it to make the registration call like this:
`curl -X POST -H "Content-Type: application/json" -d '{"captcha":"captcha value"}' 'http://127.0.0.1:8080/v1/register/<number>'` `curl -X POST -H "Content-Type: application/json" -d '{"captcha":"captcha value"}' 'http://127.0.0.1:8080/v1/register/<number>'`