Hi All,
im hoping someone can help me or even point me in the correct direction
im trying to create an front end in javascript and using chrome.sockets.tcp https://developer.chrome.com/apps/sockets_tcp
ive got the browser to connect to the api port correctly and check its alive but i cant even do the a basic thing like login!
http://pastebin.com/vXMKfhTN - here is my simple code i have made up
the /login command is made into an ArrayBuffer, then passed to the tcp and fired to the port,
but whats weird is i dont get an reply from the api ?
have i missed something in the firing to the api?
i have read on the API page http://wiki.mikrotik.com/wiki/Manual:API#Protocol about encoding my command?
i am completely lost as to what it means!
i tried to decipher the php and nodejs api's that have been made, but no luck
any help wouldnt go a miss!
Regards
Simon