url change
This commit is contained in:
parent
5d4ea0e057
commit
3bb7386d72
@ -21,7 +21,7 @@ import okhttp3.ResponseBody;
|
|||||||
|
|
||||||
public class ServerCommunication
|
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();
|
private static final OkHttpClient client = new OkHttpClient();
|
||||||
|
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
|
<title>Simple Cloud Notifications</title>
|
||||||
<link rel="stylesheet" href="/css/toastify.min.css"/>
|
<link rel="stylesheet" href="/css/toastify.min.css"/>
|
||||||
<link rel="stylesheet" href="/css/mini-default.min.css">
|
<link rel="stylesheet" href="/css/mini-default.min.css">
|
||||||
<!--<link rel="stylesheet" href="/css/mini-nord.min.css">-->
|
<!--<link rel="stylesheet" href="/css/mini-nord.min.css">-->
|
||||||
|
@ -3,39 +3,36 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<link rel="stylesheet" href="/css/mini-default.min.css">
|
<link rel="stylesheet" href="/css/mini-default.min.css">
|
||||||
|
<title>Simple Cloud Notifications - API</title>
|
||||||
<!--<link rel="stylesheet" href="/css/mini-nord.min.css">-->
|
<!--<link rel="stylesheet" href="/css/mini-nord.min.css">-->
|
||||||
<!--<link rel="stylesheet" href="/css/mini-dark.min.css">-->
|
<!--<link rel="stylesheet" href="/css/mini-dark.min.css">-->
|
||||||
<link rel="stylesheet" href="/css/style.css">
|
<link rel="stylesheet" href="/css/style.css">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
|
|
||||||
<form id="mainpnl">
|
<form id="mainpnl">
|
||||||
|
|
||||||
<a href="https://play.google.com/store/apps/details?id=com.blackforestbytes.simplecloudnotifier" class="button bordered" id="tl_link"><span class="icn-google-play"></span></a>
|
<a href="https://play.google.com/store/apps/details?id=com.blackforestbytes.simplecloudnotifier" class="button bordered" id="tl_link"><span class="icn-google-play"></span></a>
|
||||||
<a href="/index.php" class="button bordered" id="tr_link">Send</a>
|
<a href="/index.php" class="button bordered" id="tr_link">Send</a>
|
||||||
|
|
||||||
<h1>Simple Cloud Notifier</h1>
|
<h1>Simple Cloud Notifier</h1>
|
||||||
|
|
||||||
<p>Get your user-id and user-key from the app and send notifications to your phone by performing a POST request against <code>https://simplecloudnotifier.blackforestbytes.com/send.php</code></p>
|
<p>Get your user-id and user-key from the app and send notifications to your phone by performing a POST request against <code>https://simplecloudnotifier.blackforestbytes.com/send.php</code></p>
|
||||||
<pre>curl \
|
<pre>curl \
|
||||||
--data "user_id={userid}" \
|
--data "user_id={userid}" \
|
||||||
--data "user_key={userkey}" \
|
--data "user_key={userkey}" \
|
||||||
--data "title={message_title}" \
|
--data "title={message_title}" \
|
||||||
--data "content={message_content}" \
|
--data "content={message_content}" \
|
||||||
https://simplecloudnotifier.blackforestbytes.com/send.php</pre>
|
https://scn.blackforestbytes.com/send.php</pre>
|
||||||
<p>The <code>content</code> parameter is optional, you can also send message with only a title</p>
|
<p>The <code>content</code> parameter is optional, you can also send message with only a title</p>
|
||||||
<pre>curl \
|
<pre>curl \
|
||||||
--data "user_id={userid}" \
|
--data "user_id={userid}" \
|
||||||
--data "user_key={userkey}" \
|
--data "user_key={userkey}" \
|
||||||
--data "title={message_title}" \
|
--data "title={message_title}" \
|
||||||
https://simplecloudnotifier.blackforestbytes.com/send.php</pre>
|
https://scn.blackforestbytes.com/send.php</pre>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
<div id="copyinfo">
|
<div id="copyinfo">
|
||||||
<a href="https://www.blackforestbytes.com">© blackforestbytes</a>
|
<a href="https://www.blackforestbytes.com">© blackforestbytes</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
@ -2,6 +2,7 @@
|
|||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
|
<title>Simple Cloud Notifications</title>
|
||||||
<link rel="stylesheet" href="/css/mini-default.min.css">
|
<link rel="stylesheet" href="/css/mini-default.min.css">
|
||||||
<!--<link rel="stylesheet" href="/css/mini-nord.min.css">-->
|
<!--<link rel="stylesheet" href="/css/mini-nord.min.css">-->
|
||||||
<!--<link rel="stylesheet" href="/css/mini-dark.min.css">-->
|
<!--<link rel="stylesheet" href="/css/mini-dark.min.css">-->
|
||||||
|
Loading…
Reference in New Issue
Block a user