Updating http request class to basic http