Hello!
I've been successfully using HomeSeer's JSON API to call into my plugin using pluginfunction as in:
However I am running into trouble calling the plugin from a library that has the following limitations:
Does anyone have any clues into whether calling a plug-in this way, rather than using GET and wrapping the parameters in the query?
Thanks in advance!
Antonio.
I've been successfully using HomeSeer's JSON API to call into my plugin using pluginfunction as in:
Code:
GET http://localhost/JSON?request=pluginfunction&function=myFunction&plugin=myPlugin&P1=myParam1&P2=myParam2
- Outbound calls can only be PUT/POST
- Parameters must be passed in formatted as JSON in the body of the request
Does anyone have any clues into whether calling a plug-in this way, rather than using GET and wrapping the parameters in the query?
Thanks in advance!
Antonio.
Comment