added fake api script to test api response (test-json.php)
This commit is contained in:
parent
a495ade686
commit
f6d6d5273e
6
website/test-json.php
Normal file → Executable file
6
website/test-json.php
Normal file → Executable file
@ -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…
Reference in New Issue
Block a user