chaospott-status/scripts/open_aerie.sh
2024-06-29 00:45:21 +02:00

16 lines
538 B
Bash

#!/bin/sh
## starte server mit env vars passend zum ersten aufruf
## TODO das muss noch gescripted werden
# should return 201 if env vars are set like this payload states
curl -XPOST \
-H "Content-Type: application/json" \
--data '{"consumer_key": "test123","consumer_secret":"123test","aerie":true }' \
http://localhost:3000/api/update -vvv
#should return 500
curl -XPOST \
-H "Content-Type: application/json" \
--data '{"consumer_key": "foo","consumer_secret":"bar","aerie":true }' \
http://localhost:3000/api/update -vvv