|
@ -89,7 +89,7 @@ class EMCBackend(models.Model): |
|
|
if url.startswith("/"): |
|
|
if url.startswith("/"): |
|
|
url = self.location + url |
|
|
url = self.location + url |
|
|
|
|
|
|
|
|
_logger.info("POST to %s %s" % url) |
|
|
|
|
|
|
|
|
_logger.info("POST to %s" % url) |
|
|
return requests.post(url, json=data, headers=headers) |
|
|
return requests.post(url, json=data, headers=headers) |
|
|
|
|
|
|
|
|
def http_post_content(self, url, data, headers=None): |
|
|
def http_post_content(self, url, data, headers=None): |
|
|