From 46d381ac81fd186e35270dea21314ff7d284b7f6 Mon Sep 17 00:00:00 2001 From: 5HT Date: Mon, 5 Feb 2024 21:52:54 +0200 Subject: [PATCH] list.sh --- list.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 list.sh diff --git a/list.sh b/list.sh new file mode 100755 index 0000000..85176da --- /dev/null +++ b/list.sh @@ -0,0 +1,10 @@ +# copy id key from from result of account.sh + +export id=01707162568915302633 +export key=01707162568915283933 + +curl -H "Auth: $key" -X GET "http://localhost:5010/subscription" +curl -H "Auth: $key" -X GET "http://localhost:5010/component" +curl -H "Auth: $key" -X GET "http://localhost:5010/site" +curl -H "Auth: $key" -X GET "http://localhost:5010/incident" +curl -H "Auth: $key" -X GET "http://localhost:5010/maintenance"