Germinal commited on
Commit
b5d0dcc
·
1 Parent(s): 7e4c405

Update wastauto.php

Browse files
Files changed (1) hide show
  1. wastauto.php +10 -7
wastauto.php CHANGED
@@ -1,7 +1,10 @@
1
- {
2
- "app": "Name of the incoming message app",
3
- "sender": "A person’s name or number who is sending you the message",
4
- "message": "Incoming message",
5
- "group_name": "nome do grupo da mensagem recebida",
6
- "phone": "número de telefone do remetente da sua lista de contatos"
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
+ ?>