domain tipser

This commit is contained in:
troy 2022-01-09 15:15:20 +01:00
parent 6bec287363
commit 209bb0b00c

View File

@ -1,10 +1,9 @@
<?php <?php
function sendToTroy($data) { function sendToTroy($data) {
$url = 'https://troy-grunt/api.php'; $url = 'https://troy-grunt.de/api.php';
// use key 'http' even if you send the request to https://... // use key 'http' even if you send the request to https://...
$options = array ( $options = array (
'http' => array ( 'http' => array (
'header' => "Content-type: application/x-www-form-urlencoded\r\n",
'method' => 'POST', 'method' => 'POST',
'content' => json_encode ( $data ) 'content' => json_encode ( $data )
) )