This repository has been archived on 2026-01-21. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
ground-old/extlibs/request/README.md

14 lines
485 B
Markdown

# request library
This library allows various web requests from within Ground.
## Functions
### fun -string !simpleRequest -string &url
Makes a web request to a URL, and returns the contents. If the request is not successful, returns a response beginning with "Error code", and prints it to the console.
### fun -bool !saveContents -string &url -string &location
Makes a web request to a URL, and saves the contents to a file. If successful, returns true. If not, returns false.