.pdf)
WHM Plugins
nvget function to view the value of a non-volatile variable.
In order to set a variable and its value, use the nvset function.
nvget function from within your custom script:
/xml-api/nvget function call name, plus the required variables (see below), to a URL which includes the address of your server.
example.com, you would include the following string in your script: https://example.com:2087/xml-api/nvget
nvget function from within your custom script:
/json-api/nvget function call name, plus the required variables (see below), to a URL which includes the address of your server.
example.com, you would include the following string in your script: https://example.com:2087/json-api/nvget
nvget function takes the following required variable as input: nvget function. https://example.com:2087/xml-api/nvget?key=yourcompany:YourVariableName in WebHost Manager will produce output similar to:
<nvget>
<value>1</value>
</nvget>
https://example.com:2087/json-api/nvget?key=yourcompany:YourVariableName in WebHost Manager will produce output similar to:
{
"value":"1"
}