jeedom / core

Software for home automation
https://www.jeedom.com
GNU General Public License v2.0
389 stars 318 forks source link

JSON RPC2 API Problem #144

Closed msantang78 closed 9 years ago

msantang78 commented 9 years ago

The jeedom json rpc2 api only works with your php client implementation. I try other php and js implementations and i cant make it work. After looking deeper in the code i found that you use the post field "request" instead of send and receive json in raw post data.

zoic21 commented 9 years ago

Hi, I make a fix in last beta can you check if it's ok ?

rd2b commented 9 years ago

Hi,

Didn't tried yet but this is exactly the error i faced while using it with a python client. I need to send in the "request" rather than post data. The fix should do the trick. Thx

msantang78 commented 9 years ago

thanks!