Signatur
array $_POST
Beschreibung
Für JSON-Payloads: json_decode(file_get_contents('php://input'), true).
Rückgabewert
Typ
array
Beschreibung
Form-Daten.
Beispiele
JSON-Payload
<?php
$data = json_decode(file_get_contents('php://input'), true, flags: JSON_THROW_ON_ERROR);