Created
September 14, 2023 17:27
-
-
Save a-toms/62bfd3a8c7a34bab4702a24c6297693a to your computer and use it in GitHub Desktop.
# Replace this with an environment variable in production. - ## 4.2 Run your serverless function locally
This file contains hidden or 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
Event = {'body': {'task_id': 1}, 'httpMethod': 'POST'} | |
Received task_id 1 | |
Completed task_id 1 | |
END RequestId: ac4d9b48-9675-4513-881b-d5a89d801035 | |
REPORT RequestId: ac4d9b48-9675-4513-881b-d5a89d801035 Init Duration: 0.76 ms Duration: 3895.27 ms Billed Duration: 3896 ms Memory Size: 128 MB Max Memory Used: 128 MB | |
{"status_code": 404, "body": "{\"status\": \"task does not exist\"}"}% |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment