Created
April 13, 2021 16:20
-
-
Save nfantone/a721e1533bcd883d4dc51b38999f3cc6 to your computer and use it in GitHub Desktop.
An AWS API Gateway Lambda event payload
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
{ | |
"resource": "/", | |
"path": "/", | |
"httpMethod": "POST", | |
"headers": { | |
"accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9", | |
"accept-encoding": "gzip, deflate, br", | |
"accept-language": "en-US,en;q=0.9", | |
"cookie": "s_fid=7AAB6XMPLAFD9BBF-0643XMPL09956DE2; regStatus=pre-register", | |
"Host": "70ixmpl4fl.execute-api.us-east-2.amazonaws.com", | |
"sec-fetch-dest": "document", | |
"sec-fetch-mode": "navigate", | |
"sec-fetch-site": "none", | |
"upgrade-insecure-requests": "1", | |
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36", | |
"X-Amzn-Trace-Id": "Root=1-5e66d96f-7491f09xmpl79d18acf3d050", | |
"X-Forwarded-For": "52.255.255.12", | |
"X-Forwarded-Port": "443", | |
"X-Forwarded-Proto": "https" | |
}, | |
"multiValueHeaders": { | |
"accept": [ | |
"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9" | |
], | |
"accept-encoding": ["gzip, deflate, br"], | |
"accept-language": ["en-US,en;q=0.9"], | |
"cookie": ["s_fid=7AABXMPL1AFD9BBF-0643XMPL09956DE2; regStatus=pre-register;"], | |
"Host": ["70ixmpl4fl.execute-api.ca-central-1.amazonaws.com"], | |
"sec-fetch-dest": ["document"], | |
"sec-fetch-mode": ["navigate"], | |
"sec-fetch-site": ["none"], | |
"upgrade-insecure-requests": ["1"], | |
"User-Agent": [ | |
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36" | |
], | |
"X-Amzn-Trace-Id": ["Root=1-5e66d96f-7491f09xmpl79d18acf3d050"], | |
"X-Forwarded-For": ["52.255.255.12"], | |
"X-Forwarded-Port": ["443"], | |
"X-Forwarded-Proto": ["https"] | |
}, | |
"queryStringParameters": null, | |
"multiValueQueryStringParameters": null, | |
"pathParameters": { | |
"id": 42 | |
}, | |
"stageVariables": null, | |
"requestContext": { | |
"resourceId": "2gxmpl", | |
"resourcePath": "/", | |
"httpMethod": "GET", | |
"extendedRequestId": "JJbxmplHYosFVYQ=", | |
"requestTime": "10/Mar/2020:00:03:59 +0000", | |
"path": "/Prod/", | |
"accountId": "123456789012", | |
"protocol": "HTTP/1.1", | |
"stage": "Prod", | |
"domainPrefix": "70ixmpl4fl", | |
"requestTimeEpoch": 1583798639428, | |
"requestId": "77375676-xmpl-4b79-853a-f982474efe18", | |
"identity": { | |
"cognitoIdentityPoolId": null, | |
"accountId": null, | |
"cognitoIdentityId": null, | |
"caller": null, | |
"sourceIp": "52.255.255.12", | |
"principalOrgId": null, | |
"accessKey": null, | |
"cognitoAuthenticationType": null, | |
"cognitoAuthenticationProvider": null, | |
"userArn": null, | |
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36", | |
"user": null | |
}, | |
"domainName": "70ixmpl4fl.execute-api.us-east-2.amazonaws.com", | |
"apiId": "70ixmpl4fl" | |
}, | |
"body": "{\"name\":\"foobar\"}", | |
"isBase64Encoded": false | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment