1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

fix invalid request format in api integration tests

This commit is contained in:
Steffen Vogel 2017-04-18 01:36:29 +02:00
parent 3d26464ee7
commit 2bc8788a7e
2 changed files with 2 additions and 2 deletions

View file

@ -15,7 +15,7 @@ villas-node file://${LOCAL_CONF} &
sleep 1
# Fetch config via API
curl -sX POST --data '{ "request" : "config", "id" : "5a786626-fbc6-4c04-98c2-48027e68c2fa" }' http://localhost/api/v1 > ${FETCHED_CONF}
curl -sX POST --data '{ "action" : "config", "id" : "5a786626-fbc6-4c04-98c2-48027e68c2fa" }' http://localhost/api/v1 > ${FETCHED_CONF}
# Shutdown VILLASnode
kill $!

View file

@ -28,7 +28,7 @@ villas-node ${CONFIG_FILE} &
sleep 1
# Fetch config via API
curl -sX POST --data '{ "request" : "nodes", "id" : "5a786626-fbc6-4c04-98c2-48027e68c2fa" }' http://localhost/api/v1 > ${FETCHED_NODES}
curl -sX POST --data '{ "action" : "nodes", "id" : "5a786626-fbc6-4c04-98c2-48027e68c2fa" }' http://localhost/api/v1 > ${FETCHED_NODES}
# Shutdown VILLASnode
kill $!