mod_httapi configuration file
The mod_httapi configuration file is found in conf/autoload_configs and is named httapi.conf.xml. It contains several settings parameters as well as a profiles section. The example configuration contains a default HTTAPI profile (you may create your own profiles).
params
Inside the profile tag you will notice a number of param entries. These control things such as default settings, and the default URL to use for HTTP requests.
gateway-url
The gateway-url parameter set the default resource that mod_httapi will use for making requests. This parameter can be overridden in dialplan, as an argument to httapi application.
method
The method parameter set the default method (GET|POST|PUT) that mod_httapi will use for making requests. This parameter can be overridden in dialplan, inside curly braces.
permissions
You may want to have permissions on things such as variables that shouldn't be changed, or applications and APIs that you don't want to execute inadvertently.
In the...