diff --git a/PHP/fetch_tickets.php b/PHP/fetch_tickets.php index ce3a52e..1a84ec3 100644 --- a/PHP/fetch_tickets.php +++ b/PHP/fetch_tickets.php @@ -26,6 +26,18 @@ echo $headers."\n"; echo "Response Body \n"; echo "$response \n"; + /* + // More visual. + $response_data = json_decode($response); + foreach ($response_data as $key => $value) { + + echo "
"; + print_r($value); + echo ""; + + } + + */ } else { if($info['http_code'] == 404) { echo "Error, Please check the end point \n"; @@ -38,4 +50,4 @@ curl_close($ch); -?> \ No newline at end of file +?>