From b9405a396f22a2c920350a7e463dce0721663f94 Mon Sep 17 00:00:00 2001 From: Daniel Maslowski Date: Tue, 21 May 2024 23:44:31 +0200 Subject: [PATCH] add simple test scripts for convenience --- scripts/close_aerie.sh | 4 ++++ scripts/open_aerie.sh | 4 ++++ 2 files changed, 8 insertions(+) create mode 100644 scripts/close_aerie.sh create mode 100644 scripts/open_aerie.sh diff --git a/scripts/close_aerie.sh b/scripts/close_aerie.sh new file mode 100644 index 0000000..ec17edb --- /dev/null +++ b/scripts/close_aerie.sh @@ -0,0 +1,4 @@ +curl -XPOST \ + -H "Content-Type: application/json" \ + --data '{"consumer_key": "","consumer_secret":"","aerie":false }' \ + http://localhost:3000/api/update.php diff --git a/scripts/open_aerie.sh b/scripts/open_aerie.sh new file mode 100644 index 0000000..ddd8ff5 --- /dev/null +++ b/scripts/open_aerie.sh @@ -0,0 +1,4 @@ +curl -XPOST \ + -H "Content-Type: application/json" \ + --data '{"consumer_key": "","consumer_secret":"","aerie":true }' \ + http://localhost:3000/api/update.php