From 3bb7386d72520b6135f3eaca3ac1b735030cd3e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20Schw=C3=B6rer?= Date: Thu, 27 Sep 2018 02:38:46 +0200 Subject: [PATCH] url change --- .../model/ServerCommunication.java | 2 +- web/index.php | 1 + web/index_api.php | 27 +++++++++---------- web/index_sent.php | 1 + 4 files changed, 15 insertions(+), 16 deletions(-) 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