mirror of
https://github.com/bbernhard/signal-cli-rest-api.git
synced 2026-08-29 06:16:05 +00:00
Update captcha instructions in HOMEASSISTANT.md
I had trouble with the current instructions to find the correct link in dev tools. After seeing the instructions is https://github.com/bbernhard/signal-cli-rest-api/issues/706 I could easily get it to work. Updating the instructions here per issue above, as this seems much more accessible / easy than trying to find this in dev tools. cc @wassong since you shared those in https://github.com/bbernhard/signal-cli-rest-api/issues/706 (thank you!)
This commit is contained in:
parent
8834570421
commit
e381abd921
@ -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