few ways to interact with PiGlow api

After Victor Palau wrote a new blog for his PiGlow API snap, I tried to operate PiGlow LED and learnt following ways to interact with it.

a. Use python:

python3 -c 'from urllib.request import urlopen; print(urlopen("http://REALIP:8000/v1/on", data=b""))'

b. Use curl:

curl -i -X POST "http://REALIP:8000/v1/on"

c. Use html web page in web browser

<head>
<title>test piglow</title>
</head>
<body>
<form action="http://192.168.0.151:8000/v1/flare" method="post">
<input type=submit value=flare>
</form>
</body>