Page 1 of 1

Keyword: SETVARW - Variable from web

Posted: Thu May 20, 2021 11:54 am
by YiMeng
Description
  • 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%
Sample JSON data file
  • {"somekey": "myValue"}