Files
ground_fork/extlibs/request/README.md

14 lines
485 B
Markdown
Raw Normal View History

2025-08-28 11:11:59 +10:00
# 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.