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
"""Twilio webhook validation for POST events using an AWS lambda proxy integration. | |
This will return the parsed body or throw an exception if validation fails. It assumes | |
you are using an aws Lambda functions with an API Gateway proxy integration. | |
Example: | |
$ eventParser = TwilioEventParser(twilio_auth_token) | |
$ try: | |
$ parsedBody = eventParser.parse(event, validate=True) | |
$ except: | |
$ pass | |
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
// | |
// Range+Extensions.swift | |
// IntensityAttributingKit | |
// | |
// Created by Evan Mckee on 3/23/16. | |
// Copyright © 2016 McKeeMaKer. All rights reserved. | |
// | |
import Foundation |