Created
September 3, 2020 07:48
-
-
Save martyca/e12da7d055425024472a44fd3090cf76 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
def lambda_handler(event, context): | |
response = { | |
"statusCode": 401, | |
"statusDescription": "401 Unauthorized", | |
"headers": { | |
"WWW-Authenticate": "Basic" | |
}, | |
"body": "Unauthorized" | |
} | |
return response |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment