mirror of https://gitlab.com/bashrc2/epicyon
Debug
parent
5561d7e317
commit
83668aff9d
|
@ -87,9 +87,9 @@ def postJsonString(session,postJsonStr: str, \
|
||||||
|
|
||||||
postResult = session.post(url = inboxUrl, data = postJsonStr, headers=headers)
|
postResult = session.post(url = inboxUrl, data = postJsonStr, headers=headers)
|
||||||
if postResult:
|
if postResult:
|
||||||
|
print(str(postResult))
|
||||||
if 'not found' in postResult.text:
|
if 'not found' in postResult.text:
|
||||||
print('WARN: Failed to post to '+inboxUrl)
|
print('WARN: Failed to post to '+inboxUrl)
|
||||||
print(postResult.text)
|
|
||||||
return None
|
return None
|
||||||
return postResult.text
|
return postResult.text
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue