python rest server experiment