I also got that error when trying it.
I don't know what to tell you, I just wrote what you asked for, the server is answering (you said it would answer 200 OK, but it does not answer 200 OK at all, it sends some lines full of $chr(32) and then send the JSON data.)

It wouldn't be easier to use an hash table here, unsure what you have in mind, I used a variable to avoid repeating the "sockwrite -n $sockname" stuff, makes the request clearer

Last edited by Wims; 24/08/14 11:00 PM.

#mircscripting @ irc.swiftirc.net == the best mIRC help channel