Moves all the method calls to perform a get request to the helper function get_request()