restful api test server. python