code: def make_ocs_request(self, method, service, action, **kwargs):
          
  
          accepted_codes = kwargs.pop('accepted_codes', [100])
  
          res = self._make_ocs_request(method, service, action, **kwargs)
          if res.status_code == 200:
              tree = ET.fromstring(res.content)
              self._check_ocs_status(tree, accepted_codes=accepted_codes)
              return res
  
          raise OCSResponseError(res)
docs: Makes a OCS API request and analyses the response
  
          :param method: HTTP method
          :param service: service name
          :param action: action path
          :param \*\*kwargs: optional arguments that ``requests.Request.request`` accepts
          :returns :class:`requests.Response` instance