Regular REST api example using python