Skip to content

Commit

Permalink
list.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
5HT committed Feb 5, 2024
1 parent fe9a8ed commit 46d381a
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions list.sh
Original file line number Diff line number Diff line change
@@ -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"

0 comments on commit 46d381a

Please sign in to comment.