forked from ground/ground
Organisation, documentation, mathlib
This commit is contained in:
13
extlibs/request/README.md
Normal file
13
extlibs/request/README.md
Normal file
@@ -0,0 +1,13 @@
|
||||
# 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.
|
Reference in New Issue
Block a user