switch to using requests for HTTP calls