Avoiding some pain to new comers.
Using REST API for devices on Raspberry Pi with Python.