Wow now we can use Jason to control RaspberryPI :-)
curl -X POST -H "Content-Type: application/json" -d '{"jsonrpc":"2.0","method":"GUI.ShowNotification","params":{"title":"This is the title of the message","message":"This is the body of the message"},"id":1}' http://username:password@RasbperryPi_IPaddress/jsonrpc
The list of all method we can using under jason is given under [1]. [2] showed how to explore the methods in a more structured way.
[1]
http://pastebin.com/AmR3r1Gy
[2]
http://jsonviewer.stack.hu/
https://www.jsoneditoronline.org/
curl -X POST -H "Content-Type: application/json" -d '{"jsonrpc":"2.0","method":"GUI.ShowNotification","params":{"title":"This is the title of the message","message":"This is the body of the message"},"id":1}' http://username:password@RasbperryPi_IPaddress/jsonrpc
The list of all method we can using under jason is given under [1]. [2] showed how to explore the methods in a more structured way.
[1]
http://pastebin.com/AmR3r1Gy
[2]
http://jsonviewer.stack.hu/
https://www.jsoneditoronline.org/
I would recommend to use http://codebeautify.org/jsonviewer to test, save and share JSON Data
ReplyDeleteA really useful read, thanks for posting.
ReplyDeleteapplication compatibility toolkit
application discovery
application rationalisation
sccm application packaging
ie11 updates windows 7
sccm bandwidth