mirror of
https://github.com/bbernhard/signal-cli-rest-api.git
synced 2026-07-29 01:09:22 +00:00
Merge pull request #727 from jakommo/patch-1
Update captcha instructions in HOMEASSISTANT.md
This commit is contained in:
commit
3b55103e7b
@ -132,13 +132,12 @@ curl -X POST -H "Content-Type: application/json" --data '{"pin": "your registrat
|
||||
### Trouble shooting: A captcha is required
|
||||
If, in step 1 above, 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 (in Mozilla Firefox):
|
||||
1. Go to [https://signalcaptchas.org/registration/generate.html](https://signalcaptchas.org/registration/generate.html)
|
||||
2. Open the developer console
|
||||
3. Answer the captcha
|
||||
3. On the developer console, find the line that looks like this: `Prevented navigation to “signalcaptcha://{captcha value}” due to an unknown protocol.` Copy the captcha value
|
||||
4. Use it to make the registration call like this:
|
||||
2. Solve the captcha
|
||||
3. Once successful, a "Open Signal" button will appear below the solved captcha, right click it and select "Copy Link" or "Copy link address".
|
||||
4. Paste what you just copied as `<captcha value>` in the example below. (The content will be a very long string starting with something like `signalcaptcha://signal-hcaptcha...`)
|
||||
|
||||
```sh
|
||||
curl -X POST -H "Content-Type: application/json" -d '{"captcha":"captcha value", "use_voice": false}' 'http://127.0.0.1:8080/v1/register/<number>'
|
||||
curl -X POST -H "Content-Type: application/json" -d '{"captcha":"<captcha value>", "use_voice": false}' 'http://127.0.0.1:8080/v1/register/<number>'
|
||||
```
|
||||
|
||||
## Sending messages to Signal Messenger groups
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user