2024-06-28 21:03:58 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
## starte server mit env vars passend zum ersten aufruf
|
|
|
|
## TODO das muss noch gescripted werden
|
|
|
|
|
|
|
|
# should return 201
|
2024-05-21 21:44:31 +00:00
|
|
|
curl -XPOST \
|
|
|
|
-H "Content-Type: application/json" \
|
2024-06-28 21:03:58 +00:00
|
|
|
--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": "test123","consumer_secret":"123test","aerie":true }' \
|
|
|
|
http://localhost:3000/api/update -vvv
|