2015-09-24, 15:49
Hi,
i have a Raspberry running OSMC and i would like to devlope a web app to control kodi but i'm facing some CORS troubles when i try to query the JSON-RPC api. I can perform an http query using Postman, howerver, when i try the same query in my application i get an error telling me that the CORS is not enabled on the server.
- I have enabled the option to allow computers of my network to query Kodi.
- my web application is based on AngularJs
Does sombody has an idea of what should i try to get my app working ?
i have a Raspberry running OSMC and i would like to devlope a web app to control kodi but i'm facing some CORS troubles when i try to query the JSON-RPC api. I can perform an http query using Postman, howerver, when i try the same query in my application i get an error telling me that the CORS is not enabled on the server.
- I have enabled the option to allow computers of my network to query Kodi.
- my web application is based on AngularJs
Does sombody has an idea of what should i try to get my app working ?