What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [help!] XML HTTP

[help!] XML HTTP
Author: Message:
rob_botch
Full Member
***

Avatar

Posts: 180
Reputation: 4
34 / Male / Flag
Joined: Apr 2006
O.P. [help!] XML HTTP
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
08-22-2007 02:15 PM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[help!] XML HTTP - by rob_botch on 08-22-2007 at 02:15 PM
RE: [help!] XML HTTP - by Ezra on 08-22-2007 at 02:43 PM
RE: [help!] XML HTTP - by Matti on 08-22-2007 at 02:45 PM
RE: [help!] XML HTTP - by rob_botch on 08-22-2007 at 02:45 PM
RE: [help!] XML HTTP - by Felu on 08-22-2007 at 04:42 PM
RE: [help!] XML HTTP - by rob_botch on 08-22-2007 at 04:48 PM
RE: [help!] XML HTTP - by Spunky on 08-22-2007 at 08:30 PM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On