- Set a variable with value from the web, similar to http request or file_get_content.
- User can specify a data file that can include post variables for the request.
Parameters
- x: The name of the variable
- y: The url for the request
- z (optional): The data file that holds JSON dictionary, key value pairs to use as POST parameters for the request
Usage
- SETVARW x = y z
- ex. SETVARW myVar = website/url @@mydata.txt
- Using the variable: %myVar%
- {"somekey": "myValue"}