Python RESfull sample