Skip to content

Commit

Permalink
Merge branch 'master' of github.com:bbernhard/signal-cli-rest-api
Browse files Browse the repository at this point in the history
  • Loading branch information
Bernhard B committed Feb 25, 2022
2 parents 50736ab + dc7c049 commit ed83d2c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion doc/EXAMPLES.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ e.g:
3. 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:

`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>'`
or via voice
`curl -X POST -H "Content-Type: application/json" -d '{"captcha":"captcha value","use_voice": true}' 'http://127.0.0.1:8080/v1/register/<number>`

- Verify the number using the code received via SMS/voice

Expand Down

0 comments on commit ed83d2c

Please sign in to comment.