add simple test scripts for convenience

This commit is contained in:
Daniel Maslowski 2024-05-21 23:44:31 +02:00
parent 60276cc881
commit b9405a396f
2 changed files with 8 additions and 0 deletions

4
scripts/close_aerie.sh Normal file
View File

@ -0,0 +1,4 @@
curl -XPOST \
-H "Content-Type: application/json" \
--data '{"consumer_key": "","consumer_secret":"","aerie":false }' \
http://localhost:3000/api/update.php

4
scripts/open_aerie.sh Normal file
View File

@ -0,0 +1,4 @@
curl -XPOST \
-H "Content-Type: application/json" \
--data '{"consumer_key": "","consumer_secret":"","aerie":true }' \
http://localhost:3000/api/update.php