diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/post_clients.json | 1 | ||||
-rwxr-xr-x | tests/run-tests.sh | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/tests/post_clients.json b/tests/post_clients.json new file mode 100644 index 0000000..4667303 --- /dev/null +++ b/tests/post_clients.json @@ -0,0 +1 @@ +{ "clients" : [ "192.168.2.1", "192.168.2.2" ] } diff --git a/tests/run-tests.sh b/tests/run-tests.sh new file mode 100755 index 0000000..e187abb --- /dev/null +++ b/tests/run-tests.sh @@ -0,0 +1 @@ +curl -X POST http://127.0.0.1:8888/clients -d @post_clients.json |