Main Handler (main.ashx) Parameters:
· html=<HTML request data (in JSON format)>
o Descr: If the "html" parameter is passed, then the SPS must return an HTML page, whose content will be based on the details assigned via the following JSON-formatted key-value pairs:
§ "image" :
// Specifies the "image" details (e.g.: "<img src='./main.ashx?type=img&height=80&width=460'/>
{
"count" : <min=1, max=100>,
"height" : <default=80, min=1, max=1000>,
"width" : <default=460, min=1, max=1000>,
}
§ "css" :
// Specifies the #-of-CSS files to put in the HTML output (e.g.: "<link rel='stylesheet' href='./main.ashx?type=css&size=1000'/>
"size" : <default=100, min=100, max=100000>,
§ "js" :
// Specifies the #-of-JavaScript files to put in the HTML output (e.g.: "<script src='./main.ashx?type=js&size=1000'/>
"defer" : true | false (default), // Note: If set to true, then apply the "defer=true" attribute to the script tag
§ "iframe" :
// Specifies the #-of-JavaScript files to put in the HTML output (e.g.: "<script src='./main.ashx?type=iframe&size=1000'/>
· type=<img|css|js|iframe>
o Desc: Specifies which type of file to return.