Files
ground_fork/extlibs/request/README.md

485 B

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.