Greg Thompson commited on
Commit
0f9f341
·
1 Parent(s): 007ec3d

Activate post request to send card

Browse files
mathtext_fastapi/conversation_manager.py CHANGED
@@ -73,11 +73,7 @@ def generate_message(data_json):
73
  }
74
  }
75
 
76
- print("DATA=====================")
77
- print(data)
78
- print("=========================")
79
-
80
- # r = requests.post(f'https://whatsapp.turn.io/v1/messages', data=json.dumps(data), headers=headers)
81
 
82
  context = {"content":{"user":"Alan", "state": "received-and-replied-state"}}
83
 
 
73
  }
74
  }
75
 
76
+ r = requests.post(f'https://whatsapp.turn.io/v1/messages', data=json.dumps(data), headers=headers)
 
 
 
 
77
 
78
  context = {"content":{"user":"Alan", "state": "received-and-replied-state"}}
79