Files
ritzenbergen-backend/admin/formulare/updateForm.php
2026-01-04 18:12:02 +01:00

22 lines
362 B
PHP
Executable File

<?php
include("../../../mysqlverbinden.php");
include("../secret.php");
include("../../vendor/autoload.php");
include("../check.php");
$payload=getUserInfo();
$username=$payload->username;
$id=$payload->id;
$rawBody = file_get_contents('php://input');
$data = json_decode($rawBody, true);
if($data===null) die("Kein Body übertragen");
var_dump($data);