Kodi Community Forum
JSON javascript simple working example - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Kodi Application (https://forum.kodi.tv/forumdisplay.php?fid=93)
+---- Forum: JSON-RPC (https://forum.kodi.tv/forumdisplay.php?fid=174)
+---- Thread: JSON javascript simple working example (/showthread.php?tid=134238)



JSON javascript simple working example - joshuaand - 2012-06-18

Hi All,

Look I don't want to get flamed, but I am struggling to find a working json javascript example, something simple like power up, whatever it doesn't matter, just to get me started.

I cant seem to find any javascript libraries either that has working code attached?

If anyone can help I would appreciate it.


RE: JSON javascript simple working example - mikehunt - 2012-06-18

Have you looked at this page : http://wiki.xbmc.org/index.php?title=JSON-RPC_API/v4

It describes what to send using json, then you can use something like JQuery ajax calls described here http://api.jquery.com/jQuery.post/ to send the data over.

Thanks,
Eric.