Created
December 13, 2018 19:23
-
-
Save craigderington/977ff8dd29fd8719bdcf53a35a39a95d to your computer and use it in GitHub Desktop.
Check our Data
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
if request.method == 'POST': | |
form_data = { | |
"message_id": request.form.get('Message-Id', None), | |
"x_mail_gun_sid": request.form.get('X-Mailgun-Sid', None), | |
"domain": request.form.get('domain', 'email.com'), | |
"event": request.form.get('event', 'delivered'), | |
"timestamp": request.form.get('timestamp', None), | |
"recipient": request.form.get('recipient', None), | |
"signature": request.form.get('signature', None), | |
"token": request.form.get('token', None) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment