Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #NoEnv
- gistID := "65d5311f8634a835a1f69bc3961af975"
- resp := {}
- If (!HTTPReq("GET", "https://api.github.com/gists/" . gistID,, rawresp, "Accept: application/vnd.github.v3+json"))
- Throw Exception("Failed to download gist",, "gist ID: " gistID )
- resp := JSON.Load(rawresp)
- For fname, fattr in resp.files {
- MsgBox % fattr.content
- }
- return
- #include <JSON>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement