diff --git a/easy_my_coop_connector/components/emc_backend.py b/easy_my_coop_connector/components/emc_backend.py index 6c06005..1df42b0 100644 --- a/easy_my_coop_connector/components/emc_backend.py +++ b/easy_my_coop_connector/components/emc_backend.py @@ -44,6 +44,7 @@ class EMCBackend(models.Model): if url.startswith("/"): url = self.location + url + _logger.info("GET to {} w/ params {}".format(url, params)) return requests.get(url, params=params, headers=headers) def _process_response(self, response): @@ -88,6 +89,7 @@ class EMCBackend(models.Model): if url.startswith("/"): url = self.location + url + _logger.info("POST to %s %s" % url) return requests.post(url, json=data, headers=headers) def http_post_content(self, url, data, headers=None):