Hello!
I am writing a script to upload a message to stikkit. I have used the following code, but the script debugging window always says that "access is denied" on line 24 when the code is executed.
code:
function Stikk(note)
{
xmlHttp = new ActiveXObject("Msxml2.XMLHTTP.3.0");
xmlHttp.open("POST", "http://api.stikkit.com/stikkits.atom", false);
xmlHttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
Debug.Trace("raw_text="+note+"&apikey="+APIKey);
xmlHttp.send("raw_text="+note+"&apikey="+APIKey); <-- Line 24
MsgPlus.DisplayToastContact("Stikkit Live!","[c=46]Stukk[/c]\n", note);
}
Any help would be much appreciated!
Thanks
Robert