diff --git a/web/request.php b/web/request.php new file mode 100644 index 0000000..dc71d12 --- /dev/null +++ b/web/request.php @@ -0,0 +1,25 @@ + \ No newline at end of file diff --git a/web/send.php b/web/send.php new file mode 100644 index 0000000..b68f923 --- /dev/null +++ b/web/send.php @@ -0,0 +1,29 @@ + array( + 'header' => "Content-type: application/json\r\n", + 'method' => 'POST', + 'content' => $_POST["content"] + ) + ); + $context = stream_context_create($options); + + $result = file_get_contents($_POST["webhook"], false, $context); +?> \ No newline at end of file