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 46d381a commit 160c5fe
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions list.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@
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"
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"
curl -H "Auth: secret" -X GET "http://localhost:5010/account"

0 comments on commit 160c5fe

Please sign in to comment.