These commands allow the creation of a new variable, or changing an existing value.
http://gambitcomm.local
http://gambitcomm.local
http://gambitcomm.local
http://gambitcomm.local
PUT
/mimic/agent/{agentNum}/store/set/{var}/{persist}
The append sub-command will append the value to an existing variable, or create a new one. The set sub-command will overwrite an existing variable, or create a new one. The optional persist flag can be used to indicate if the variable is to be persistent as described above. By default a value of '0' will be implied for the persist flag. To avoid mistakes, for existing variables the persist flag can only be set. If you want to reset it, you first need to unset the variable.
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request PUT 'http://gambitcomm.local/mimic/agent//store/set//' \
--header'Content-Type: application/json' \
--data-raw'"string"'