Created
June 24, 2022 02:10
-
-
Save rahulbanerjee26/b8db5c026e3aafdcee66a0efc403bc25 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
else: | |
postData = json.loads(request.form['Memory']) | |
postData = postData['twilio']['collected_data']['user_information']['answers'] | |
name = postData['user_name']['answer'] | |
phoneNumber = postData['user_phone_number']['answer'] | |
db[name] = phoneNumber | |
return { | |
"actions": [{ | |
"say": f"Thank You, {name}! Your info has been saved in the repl db" | |
}] | |
}, 201 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment