From 53f1ce888535503e04a48bed0a3542e5d4bcb7eb Mon Sep 17 00:00:00 2001 From: Xcreen Date: Wed, 10 Oct 2018 10:05:26 +0200 Subject: [PATCH] Update docs --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 222a18f..363bcf1 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ A response you get a JSON with a `success` and a `message` variable. message = "Hello World" phoneno = "+4915100000000" ```shell -curl -X POST http://127.0.0.1:9080/send -H 'Cache-Control: no-cache' -H 'Content-Type: application/x-www-form-urlencoded' -d 'message=Hello%20World&phoneno=%2B4915100000000' +curl -X POST http://127.0.0.1:8080/send -H 'Cache-Control: no-cache' -H 'Content-Type: application/x-www-form-urlencoded' -d 'message=Hello%20World&phoneno=%2B4915100000000' ``` #### Successful Response @@ -40,7 +40,7 @@ curl -X POST http://127.0.0.1:9080/send -H 'Cache-Control: no-cache' -H 'Content "success": true } ``` -⚠️ That means the SMS got forwarded to your default SMS-App (packagename can be found under App-Information). The SMS still can get stuck in your default SMS-App. For example on a Emulator, you will get success = true, but the default SMS-App cant send the SMS, because the SIM-Card is just emulated. So success = true, does not mean that the SMS was already successful sent. ⚠️ +⚠️ That means the SMS got forwarded to your default SMS-App (packagename can be found under App-Information). The SMS still can get stuck in your default SMS-App. For example on a Emulator, you will get success = true, but the default SMS-App cant send the SMS, because the SIM-Card is just emulated. So success = true, does not mean that the SMS was already successful sent. #### Failed Response ```json