why you want it to be in JSON format.</p> <p>The API supports both POST and GET requests.</p>"; die(); } echo "value="" . htmlspecialchars($opts->query) . """; ?> > <br> <?php