- Download the repo zip or clone it.
- Install composer packages in root
composer install
- Go into
/public/
folder. - Run
php -S localhost:XXXX
where XXXX is your port. - Send JSON Data to the API using
/echo/
for example if your port is8987
, the URL would be http://localhost:8987/echo - It should return the same JSON sent by you.
- As an added bonus, you should see the data in logs
/logs/log.txt
- Pretty useful for debugging eh?
TODO: Will share the link here