check if payload secrets match env variable secrets
This commit is contained in:
@ -1,4 +1,16 @@
|
||||
#!/bin/sh
|
||||
|
||||
## starte server mit env vars passend zum ersten aufruf
|
||||
## TODO das muss noch gescripted werden
|
||||
|
||||
# should return 201
|
||||
curl -XPOST \
|
||||
-H "Content-Type: application/json" \
|
||||
--data '{"consumer_key": "","consumer_secret":"","aerie":true }' \
|
||||
http://localhost:3000/api/update
|
||||
--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
|
Reference in New Issue
Block a user