Skip to content

Instantly share code, notes, and snippets.

@JesterXL
Created March 22, 2019 18:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JesterXL/f74beb12756b9ca52dead0aba0b3b90f to your computer and use it in GitHub Desktop.
Save JesterXL/f74beb12756b9ca52dead0aba0b3b90f to your computer and use it in GitHub Desktop.
{ resource: '/test-delete-me',
path: '/test-delete-me',
httpMethod: 'GET',
headers:
{ accept: 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8',
'accept-encoding': 'gzip, deflate, br',
'accept-language': 'en-US,en;q=0.9,es;q=0.8',
'cache-control': 'max-age=0',
Host: 'o8ai4pej00.execute-api.us-east-1.amazonaws.com',
'upgrade-insecure-requests': '1',
'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36',
'X-Amzn-Trace-Id': 'Root=1-5c952796-052be4002462282023413780',
'X-Forwarded-For': '199.244.219.39',
'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' ],
'accept-encoding': [ 'gzip, deflate, br' ],
'accept-language': [ 'en-US,en;q=0.9,es;q=0.8' ],
'cache-control': [ 'max-age=0' ],
Host: [ 'o8ai4pej00.execute-api.us-east-1.amazonaws.com' ],
'upgrade-insecure-requests': [ '1' ],
'User-Agent':
[ 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36' ],
'X-Amzn-Trace-Id': [ 'Root=1-5c952796-052be4002462282023413780' ],
'X-Forwarded-For': [ '199.244.219.39' ],
'X-Forwarded-Port': [ '443' ],
'X-Forwarded-Proto': [ 'https' ] },
queryStringParameters: null,
multiValueQueryStringParameters: null,
pathParameters: null,
stageVariables: null,
requestContext:
{ resourceId: 'kq2020',
resourcePath: '/test-delete-me',
httpMethod: 'GET',
extendedRequestId: 'W9MfjGpzoAMF1RQ=',
requestTime: '22/Mar/2019:18:21:10 +0000',
path: '/default/test-delete-me',
accountId: '089724945947',
protocol: 'HTTP/1.1',
stage: 'default',
domainPrefix: 'o8ai4pej00',
requestTimeEpoch: 1553278870741,
requestId: '44c7d97d-4ccf-11e9-a471-63ed6e6088d3',
identity:
{ cognitoIdentityPoolId: null,
accountId: null,
cognitoIdentityId: null,
caller: null,
sourceIp: '199.244.219.39',
accessKey: null,
cognitoAuthenticationType: null,
cognitoAuthenticationProvider: null,
userArn: null,
userAgent: 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36',
user: null },
domainName: 'o8ai4pej00.execute-api.us-east-1.amazonaws.com',
apiId: 'o8ai4pej00' },
body: null,
isBase64Encoded: false }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment