Skip to content

Instantly share code, notes, and snippets.

Cooper Reid cooperreid-optimizely

  • Optimizely
  • New York City
Block or report user

Report or block cooperreid-optimizely

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View lambda-webhook-template.py
import boto3
import json
from botocore.vendored import requests
def resp(err = None, res = {}):
resp_body = {'message': str(err)} if err else res
return {
'statusCode': '400' if err else '200',
'body': json.dumps(resp_body),
'headers': {
You can’t perform that action at this time.