diff --git a/android/app/src/main/java/com/blackforestbytes/simplecloudnotifier/model/ServerCommunication.java b/android/app/src/main/java/com/blackforestbytes/simplecloudnotifier/model/ServerCommunication.java index e31f859..b8299f3 100644 --- a/android/app/src/main/java/com/blackforestbytes/simplecloudnotifier/model/ServerCommunication.java +++ b/android/app/src/main/java/com/blackforestbytes/simplecloudnotifier/model/ServerCommunication.java @@ -21,7 +21,7 @@ import okhttp3.ResponseBody; public class ServerCommunication { - public static final String BASE_URL = "https://simplecloudnotifier.blackforestbytes.com/"; + public static final String BASE_URL = "https://scn.blackforestbytes.com/"; private static final OkHttpClient client = new OkHttpClient(); diff --git a/web/index.php b/web/index.php index b89b26c..60a0377 100644 --- a/web/index.php +++ b/web/index.php @@ -2,6 +2,7 @@ + Simple Cloud Notifications diff --git a/web/index_api.php b/web/index_api.php index f3e9c18..0213a7d 100644 --- a/web/index_api.php +++ b/web/index_api.php @@ -3,39 +3,36 @@ + Simple Cloud Notifications - API - -
- Send

Simple Cloud Notifier

Get your user-id and user-key from the app and send notifications to your phone by performing a POST request against https://simplecloudnotifier.blackforestbytes.com/send.php

-
curl                                     \
-    --data "user_id={userid}"            \
-    --data "user_key={userkey}"          \
-    --data "title={message_title}"       \
-    --data "content={message_content}"   \
-    https://simplecloudnotifier.blackforestbytes.com/send.php
+
curl                                          \
+    --data "user_id={userid}"                 \
+    --data "user_key={userkey}"               \
+    --data "title={message_title}"            \
+    --data "content={message_content}"        \
+    https://scn.blackforestbytes.com/send.php

The content parameter is optional, you can also send message with only a title

-
curl                                     \
-    --data "user_id={userid}"            \
-    --data "user_key={userkey}"          \
-    --data "title={message_title}"       \
-    https://simplecloudnotifier.blackforestbytes.com/send.php
+
curl                                          \
+    --data "user_id={userid}"                 \
+    --data "user_key={userkey}"               \
+    --data "title={message_title}"            \
+    https://scn.blackforestbytes.com/send.php
© blackforestbytes
- \ No newline at end of file diff --git a/web/index_sent.php b/web/index_sent.php index 3dc6b50..68f2cf7 100644 --- a/web/index_sent.php +++ b/web/index_sent.php @@ -2,6 +2,7 @@ + Simple Cloud Notifications