Apache & PHP - two lines of code...
Author: bohnelangCreated Jan 7, 2026Updated Jan 7, 2026
This is working fine for me :
<?php
header('Content-Type: text/plain; charset=UTF-8');
die(($json_a=json_decode(file_get_contents("reasons.json")))[mt_rand(0,count($json_a))])
?>Source: hotheadhacker/no-as-a-service