mirror of
https://github.com/iv-org/instances-api.git
synced 2025-06-07 14:22:54 -04:00
add comment for read only key
This commit is contained in:
parent
51513d16a8
commit
496acbdd7f
1 changed files with 1 additions and 0 deletions
|
@ -35,6 +35,7 @@ spawn do
|
|||
client = HTTP::Client.new(URI.parse("https://updown.io/p/wqufo"))
|
||||
client.connect_timeout = 10.seconds
|
||||
client.read_timeout = 10.seconds
|
||||
# Read only key for accessing the uptime checks
|
||||
response = JSON.parse(client.get("/api/checks?api-key=ro-52iHyp6LBqQq7rGp4N7p").body)
|
||||
monitors += response.as_a
|
||||
rescue ex
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue