From 4324f8febe4436f16b1d54d71269779ce8849243 Mon Sep 17 00:00:00 2001 From: Steffen Tilsch Date: Thu, 24 Feb 2022 17:50:18 +0100 Subject: [PATCH 1/2] ' was missing --- doc/EXAMPLES.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/EXAMPLES.md b/doc/EXAMPLES.md index 2a18ab7..2a26743 100644 --- a/doc/EXAMPLES.md +++ b/doc/EXAMPLES.md @@ -25,7 +25,7 @@ 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/` + `curl -X POST -H "Content-Type: application/json" -d '{"captcha":"captcha value"}' 'http://127.0.0.1:8080/v1/register/'` - Verify the number using the code received via SMS/voice From 6d2afdfc9b2e701db040730174fece8d3a11f8af Mon Sep 17 00:00:00 2001 From: Steffen Tilsch Date: Thu, 24 Feb 2022 18:16:58 +0100 Subject: [PATCH 2/2] Added voice example for registration with capcha --- doc/EXAMPLES.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/EXAMPLES.md b/doc/EXAMPLES.md index 2a18ab7..ac7c06a 100644 --- a/doc/EXAMPLES.md +++ b/doc/EXAMPLES.md @@ -26,6 +26,8 @@ e.g: 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/` + 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/` - Verify the number using the code received via SMS/voice