array( 'header' => "Content-type: application/json\r\n", 'method' => 'POST' ), ); $context = stream_context_create($options); //echo $context; $id= $_POST["id"]; $result = file_get_contents('http://localhost:5000/api/leihvorgang/'.$id); //echo $result; $json= json_decode($result, true); } ?> Verleih

Verleih

Eingabe

Ausgabe

Id
ItemId
ReturnDate
Customer
Returned