commit | author | age | ||
f973b9 | 1 | #!/bin/sh |
JK | 2 | |
3 | set -e | |
4 | ||
5 | for file in integration/*.json; do | |
6 | method=${file#*-} | |
7 | method=${method%%-*} | |
8 | echo ${method} | |
9 | ||
10 | curl -X POST --data "@${file}" "http://127.0.0.1:5000/NetworkDriver.${method}" | |
11 | done |