Spaces:
Sleeping
Sleeping
Update wastauto.php
Browse files- wastauto.php +10 -7
wastauto.php
CHANGED
@@ -1,7 +1,10 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
$app_name = $_POST[“app”];
|
3 |
+
$sender = $_POST[“sender”];
|
4 |
+
$message = $_POST[“message”];
|
5 |
+
$phone = $_POST["phone"];
|
6 |
+
$group_name = $_POST["group_name"];
|
7 |
+
|
8 |
+
$response = array("reply" => "Hello $sender, we received your message $message.");
|
9 |
+
echo json_encode($response);
|
10 |
+
?>
|