def _make_request(self, type, path, args, noRetry=False):
        """
        Make a request to Blot're.
        
        Attempts to reply the request if it fails due to an expired
        access token.
        """
        response = getattr(requests, type)(path, headers = self._add_auth_headers(_JSON_HEADERS), **args)
        if response.status_code == 200 or response.status_code == 201:
            return response.json()
        elif not noRetry and self._is_expired_response(response) \
          and 'refresh_token' in self.creds:
            try:
                self.exchange_refresh_token()
            except TokenEndpointError:
                raise _rest_error_from_response(response)
            return self._make_request(type, path, args, noRetry = True)
        raise _rest_error_from_response(response)
Make a request to Blot're.
        
        Attempts to reply the request if it fails due to an expired
        access token.