aboutsummaryrefslogtreecommitdiff
path: root/api/tests/get_peers.sh
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2025-03-14 01:02:07 +0200
committerkaotisk <kaotisk@arching-kaos.org>2025-03-14 01:02:07 +0200
commit468d96147c5345924e5136f0cfb5fd156dcb15f9 (patch)
tree3bc95d6b05f798cc9b305ac844149b161f610efe /api/tests/get_peers.sh
parent48e044e9b6968729cbd86e14ef49dbdb7c45110b (diff)
downloadarching-kaos-tools-468d96147c5345924e5136f0cfb5fd156dcb15f9.tar.gz
arching-kaos-tools-468d96147c5345924e5136f0cfb5fd156dcb15f9.tar.bz2
arching-kaos-tools-468d96147c5345924e5136f0cfb5fd156dcb15f9.zip
A couple of tests for the nodeJS API
Diffstat (limited to 'api/tests/get_peers.sh')
-rwxr-xr-xapi/tests/get_peers.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/api/tests/get_peers.sh b/api/tests/get_peers.sh
new file mode 100755
index 0000000..14d7a54
--- /dev/null
+++ b/api/tests/get_peers.sh
@@ -0,0 +1,3 @@
+#!/usr/bin/env bash
+
+curl -s -o soe "http://[`cjdns-online`]:8610/v0/peers" | jq