Spaces:
Runtime error
Runtime error
Greg Thompson commited on
Commit ·
bc7784b
1
Parent(s): 27d20fd
Add logging to explore programmatic message request
Browse files72 unmodified lines7374757677787972 unmodified lines}}# r = requests.post(f'https://whatsapp.turn.io/v1/messages', data=json.dumps(data), headers=headers)context = {"content":{"user":"Alan", "state": "received-and-replied-state"}}72 unmodified lines73747576777879808182838485868788899072 unmodified lines}}r = requests.post(f'https://whatsapp.turn.io/v1/messages', data=json.dumps(data), headers=headers)print("==================")print("Headers")print(headers)print("Data")print(data)print("Request Info")print(r)print("--")print(r.body)print("==================")context = {"content":{"user":"Alan", "state": "received-and-replied-state"}}
mathtext_fastapi/conversation_manager.py+12-1