$post_data = array(
        "upload" => true, // Don't change
        "torrent" => "@/path/to/torrent/homura-did-nothing-wrong.torrent"
    );

    $ch = curl_init("https://tracker.mrdrsr.net/api/upload.php");
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
    curl_setopt($ch, CURLOPT_POSTFIELDS, $post_data);
    $result = curl_exec($ch);
    curl_close($ch);
    $json = json_decode($result);

    if (!$json->error){
        echo $json->message;
        echo $json->url;
    }else if($json->error){
        echo $json->message;
    }
{
    "error": false,
    "message": "The torrent has been successfully uploaded",
    "url": "https:\/\/tracker.mrdrsr.net\/torrent\/B05930182B4FC941E73A4278FC612D154D5A822B.torrent",
    "magnet": "magnet:?xt=urn:btih:B05930182B4FC941E73A4278FC612D154D5A822B&tr=http:\/\/tracker.mrdrsr.net:6969\/announce&tr=udp:\/\/tracker.openbittorrent.com:80\/announce&tr=udp:\/\/tracker.publicbt.com:80&tr=udp:\/\/tracker.ccc.de:80&tr=udp:\/\/tracker.istole.it:80"
}