mirror of
https://github.com/iv-org/instances-api.git
synced 2025-03-13 09:46:34 -04:00
add comment for read only key
This commit is contained in:
parent
51513d16a8
commit
496acbdd7f
@ -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…
x
Reference in New Issue
Block a user