# for publish request\r
req_headers = {'Content-type': 'application/json'}\r
return requests.post(url,\r
json=payload,\r
auth=(username, password) if auth_enabled else None,\r
# for publish request\r
req_headers = {'Content-type': 'application/json'}\r
return requests.post(url,\r
json=payload,\r
auth=(username, password) if auth_enabled else None,\r