code: def _request_helper(self, url, params, method):
          '''API request helper method'''
          try:
              if method == 'POST':
                  return self._request_post_helper(url, params)
              elif method == 'GET':
                  return self._request_get_helper(url, params)
              raise VultrError('Unsupported method %s' % method)
          except requests.RequestException as ex:
              raise RuntimeError(exf _request_helper(self, url, params, method):
          '''API request helper method'''
          try:
              if method == 'POST':
                  return self._request_post_helper(url, params)
              elif method == 'GET':
                  return self._request_get_helper(url, params)
              raise VultrError('Unsupported method %s' % method)
          except requests.RequestException as ex:
              raise RuntimeError(ex)
docs: API request helper method