I am currently working with a simple variable that is accepting a JSON Object.
Here is the code snippet:
To maintain privacy, I have sanitized the code to avoid revealing sensitive information.
var server = "00.00.000.00:8800";
var webServices = "http://" + server + "/somedir/ws/";
var networksURL;
var sitesURL;
var resourcesURL;
var componentsURL;
networksURL = webServices + 'config/networks';
sitesURL = webServices + 'config/sites';
resourcesURL = webServices + 'config/resources';
componentsURL = webServices + 'config/components';
// Rest of the code omitted for brevity...
Please refer to the code above for the complete implementation. Thank you.