samedi 28 mars 2020

How To I Get The Input from incoming_message

'''''''''''''''''''''''''''''''''''''''''''''''''''''' @app.route('/bot', methods=['GET','POST'])

    incoming_msg = request.values.get('Body', '')
    #print(incoming_msg)
    resp = MessagingResponse()
    msg = resp.message()

if  '/ex %s'.startswith('https') in incoming_msg:
        r = requets.get('exam.com'
        responded = True

Aucun commentaire:

Enregistrer un commentaire