<?php $endpoint = 'https://wedstrijdadministratie.scgouda.nl/api/v1/pietvanoosten'; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $endpoint); curl_setopt($ch, CURLOPT_POST, true); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_POSTFIELDS, []); $response = curl_exec($ch); curl_close($ch); $response = json_decode($response); echo $response; //$url = 'https://wedstrijdadministratie.scgouda.nl/api/v1/pietvanoosten'; //$data = file_get_contents($url); //echo $data;
You have javascript disabled. You will not be able to edit any code.