Skip to content

Instantly share code, notes, and snippets.

@rahulbanerjee26
Created June 24, 2022 02:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rahulbanerjee26/b8db5c026e3aafdcee66a0efc403bc25 to your computer and use it in GitHub Desktop.
Save rahulbanerjee26/b8db5c026e3aafdcee66a0efc403bc25 to your computer and use it in GitHub Desktop.
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