Browse Source

added fake api script to test api response (test-json.php)

master
user 4 years ago
parent
commit
f6d6d5273e
  1. 6
      website/test-json.php

6
website/test-json.php

@ -1,7 +1,11 @@
<?php <?php
// JSON tester to send out fake tier API responses to test our scripts and not abuse the Tier server // JSON tester to send out fake tier API responses to test our scripts and not abuse the Tier server
// Usage: http://localhost:8080/test-json.php?scooterID=1 // NOTE: DOES NOT WORK LOCALLY
// Usage: https://opencoil.show/test-json.php?scooterID=1
$scooterID = htmlspecialchars($_GET["scooterID"]); $scooterID = htmlspecialchars($_GET["scooterID"]);

Loading…
Cancel
Save