diff --git a/basic_ap.py b/basic_ap.py index edbf7cb..b222e62 100644 --- a/basic_ap.py +++ b/basic_ap.py @@ -172,10 +172,10 @@ def post(): r = requests.post('https://post.lurk.org/inbox', json=json_message, headers=signed_headers) - a = (r.status_code, r.text, r.headers) - a = str(a) - - return a + html = f'Status code
{r.status_code}

Response Headers:
{r.headers}


json message:
{json.dumps(json_message)}


Request headers:
{signed_headers}
' + html_headers = f'{html}' + + return html_headers if __name__ == '__main__': app.debug =True