Skip to content

Instantly share code, notes, and snippets.

@manico
Created December 31, 2019 13:48
Show Gist options
  • Save manico/46bf4a21f39e55e20444d8387bc8d824 to your computer and use it in GitHub Desktop.
Save manico/46bf4a21f39e55e20444d8387bc8d824 to your computer and use it in GitHub Desktop.
Lambda Event Response
{
"event": {
"path": "/.netlify/functions/echo",
"httpMethod": "GET",
"headers": {
"accept": "",
"accept-encoding": "",
"accept-language": "",
"client-ip": "",
"connection": "",
"cookie": "",
"sec-fetch-mode": "",
"sec-fetch-site": "",
"sec-fetch-user": "",
"upgrade-insecure-requests": "",
"user-agent": "",
"via": "",
"x-bb-ab": "",
"x-bb-client-request-uuid": "",
"x-bb-ip": "",
"x-bb-loop": "1",
"x-cdn-domain": "",
"x-country": "",
"x-datadog-parent-id": "",
"x-datadog-sampling-priority": "",
"x-datadog-trace-id": "",
"x-forwarded-for": "",
"x-forwarded-proto": "",
"x-language": "",
"x-nf-client-connection-ip": ""
},
"queryStringParameters": {
"testQuery": "true"
},
"body": "",
"isBase64Encoded": true
},
"workingDirectory": "/var/task",
"nodeEnv": "production"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment