useful-api.org/renderer/JSON.php

6 lines
128 B
PHP
Raw Permalink Normal View History

2023-11-22 20:25:33 +00:00
<?php
return function($data) {
2023-11-24 09:01:17 +00:00
header("Content-Type: application/json");
echo json_encode($data, JSON_PRETTY_PRINT);
2023-11-22 20:25:33 +00:00
};