From a5bf0f5a379b913f5ebba238ed42cca67a3674ea Mon Sep 17 00:00:00 2001 From: Bernhard B Date: Sun, 3 Nov 2019 19:24:29 +0100 Subject: [PATCH 1/3] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 89fc42d..8495b87 100644 --- a/README.md +++ b/README.md @@ -30,6 +30,7 @@ services: Sample REST API calls: * Register a number (with SMS verification) + ```curl -X POST -H "Content-Type: application/json" 'http://127.0.0.1:8080/v1/register/'``` e.g: From 612fb7dab486e95dae09d243d6ede7d09c1577d2 Mon Sep 17 00:00:00 2001 From: Bernhard B Date: Sun, 3 Nov 2019 19:24:58 +0100 Subject: [PATCH 2/3] Update HOMEASSISTANT.md --- doc/HOMEASSISTANT.md | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/HOMEASSISTANT.md b/doc/HOMEASSISTANT.md index 5fa41c8..761c596 100644 --- a/doc/HOMEASSISTANT.md +++ b/doc/HOMEASSISTANT.md @@ -35,6 +35,7 @@ In order to send signal messages to other users, you first need to register your e.g: This registers the number `+431212131491291` to the Signal network. + ```curl -X POST -H "Content-Type: application/json" 'http://127.0.0.1:8080/v1/register/+431212131491291'``` After you've sent the registration request, you will receive a token via SMS for verfication. In order to complete the registration process you need to send the verification token back via the following REST request: From 6d9c85599d8354877ba57590effbe37db0db27aa Mon Sep 17 00:00:00 2001 From: Bernhard B Date: Sun, 3 Nov 2019 19:25:15 +0100 Subject: [PATCH 3/3] Update HOMEASSISTANT.md --- doc/HOMEASSISTANT.md | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/HOMEASSISTANT.md b/doc/HOMEASSISTANT.md index 761c596..e3b4b82 100644 --- a/doc/HOMEASSISTANT.md +++ b/doc/HOMEASSISTANT.md @@ -43,4 +43,5 @@ After you've sent the registration request, you will receive a token via SMS for ```curl -X POST -H "Content-Type: application/json" 'http://:/v1/register//verify/'``` e.g: + ```curl -X POST -H "Content-Type: application/json" 'http://127.0.0.1:8080/v1/register/+431212131491291/verify/123-456'```