REST WS example in python