Created
April 21, 2018 10:49
-
-
Save thomasvds/d9d1fd7455e49687d5f58cb449ec5801 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
import os, json | |
STATUS = os.environ['status'] | |
def lambda_handler(event, context): | |
response = { | |
"statusCode": 200, | |
"headers": { "Content-Type": "application/json" }, | |
"body": json.dumps( { "challenge_status": STATUS } ) | |
} | |
return response |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment