Saturday, July 4, 2015

Raspberry PI JASON

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.