Use urlfetch and httprequestfactory