Syntax
Details
Example
var server = "https://my_json_server.com"
print Obtaining token from server
buffer response = http GET ${server}/generatetoken
print Token received:
print {response}
# Create a variable called ${secret_token} from the
# 'access_token' string in the JSON in the {response} buffer
var secret_token = $JSON{response}.[access_token]
# We no longer need the {response} buffer as the value
# extracted from it is stored in a variable
discard {response}
print Original server response now discardedLast updated