You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello
get an empty string error. Find out that it comes from empty or missing .method("cmd::execCmd")
This is how it should work on command line curl -XPOST -d '{"command":"color","color":[0,0,255],"priority":50,"origin":"My Fancy App"}' 'http://192.168.1.110:8090/json-rpc'
What is need for the .method("cmd::execCmd") section?
Thanks
The text was updated successfully, but these errors were encountered:
Hello,
What you seem to use doesn't really look like a JSON-RPC command...
A JSON-RPC command looks like this: https://www.jsonrpc.org/specification
Your requests seems like a simple REST/JSON POST command, with a JSON payload :)
Hello
get an empty string error. Find out that it comes from empty or missing
.method("cmd::execCmd")
This is how it should work on command line
curl -XPOST -d '{"command":"color","color":[0,0,255],"priority":50,"origin":"My Fancy App"}' 'http://192.168.1.110:8090/json-rpc'
What is need for the .method("cmd::execCmd") section?
Thanks
The text was updated successfully, but these errors were encountered: