AWS_ACCESS_KEY_ID
ASIA4RRTJOIH3IWKN66P
AWS_DEFAULT_REGION
ap-southeast-1
AWS_EXECUTION_ENV
AWS_Lambda_nodejs10.x
AWS_LAMBDA_FUNCTION_MEMORY_SIZE
512
AWS_LAMBDA_FUNCTION_NAME
count
AWS_LAMBDA_FUNCTION_VERSION
88
AWS_LAMBDA_INITIALIZATION_TYPE
on-demand
AWS_LAMBDA_LOG_GROUP_NAME
/aws/lambda/count
AWS_LAMBDA_LOG_STREAM_NAME
2021/02/25/[88]18cec82acaa048d1b2590158a1a4c352
AWS_LAMBDA_RUNTIME_API
127.0.0.1:9001
AWS_PROFILE
gosls
AWS_REGION
ap-southeast-1
AWS_XRAY_CONTEXT_MISSING
LOG_ERROR
AWS_XRAY_DAEMON_ADDRESS
169.254.79.2:2000
CONTENTLENGTH
0
COUNTVERSION
HOST
count.goserverless.sg
LAMBDA_RUNTIME_DIR
/var/runtime
LAMBDA_TASK_ROOT
/var/task
LANG
en_US.UTF-8
LD_LIBRARY_PATH
/var/lang/lib:/lib64:/usr/lib64:/var/runtime:/var/runtime/lib:/var/task:/var/task/lib:/opt/lib
METHOD
GET
NODE_ENV
staging
NODE_PATH
/opt/nodejs/node10/node_modules:/opt/nodejs/node_modules:/var/runtime/node_modules:/var/runtime:/var/task
PATH
node_modules/.bin:/var/lang/bin:/usr/local/bin:/usr/bin/:/bin:/opt/bin
PORT
46213
PROTO
HTTP/1.1
PWD
/var/task
REMOTEADDR
127.0.0.1:46648
REQUESTURI
/
SHLVL
1
TRANSFERENCODING
TZ
:UTC
UP_AUTHOR
Kai Hendry
UP_COMMIT
3978b30
UP_RESTARTS
0
UP_STAGE
staging
_
./server
_AWS_XRAY_DAEMON_ADDRESS
169.254.79.2
_AWS_XRAY_DAEMON_PORT
2000
_HANDLER
_proxy.handle

Request Header

Accept
[text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8]
Accept-Encoding
[br,gzip]
Accept-Language
[en-US,en;q=0.5]
Cloudfront-Forwarded-Proto
[https]
Cloudfront-Is-Desktop-Viewer
[true]
Cloudfront-Is-Mobile-Viewer
[false]
Cloudfront-Is-Smarttv-Viewer
[false]
Cloudfront-Is-Tablet-Viewer
[false]
Cloudfront-Viewer-Country
[US]
Connection
[close]
If-Modified-Since
[Wed, 27 Jan 2021 18:52:15 GMT]
User-Agent
[CCBot/2.0 (https://commoncrawl.org/faq/)]
Via
[1.1 2a625a52028f5bc51f52153cd559e54e.cloudfront.net (CloudFront)]
X-Amz-Cf-Id
[n5qV6MCB2T9CvapcA375LNCkci3CreRKkR7vcDo5Sb_qSq6tLnV5Uw==]
X-Amzn-Trace-Id
[Root=1-6036ff17-6c8def957d49568f22dda78a]
X-Context
[{"apiId":"nfmu0f3g7g","resourceId":"kmq9s586el","requestId":"28e08c00-d1b7-4b7e-aef1-880bc2fe8433","accountId":"862322258447","stage":"staging","identity":{"apiKey":"","accountId":"","userAgent":"CCBot/2.0 (https://commoncrawl.org/faq/)","sourceIp":"3.232.129.123","accessKey":"","caller":"","user":"","userARN":"","cognitoIdentityId":"","cognitoIdentityPoolId":"","cognitoAuthenticationType":"","cognitoAuthenticationProvider":""},"authorizer":null}]
X-Forwarded-For
[3.232.129.123, 130.176.137.152]
X-Forwarded-Port
[443]
X-Forwarded-Proto
[https]
X-Request-Id
[28e08c00-d1b7-4b7e-aef1-880bc2fe8433]
X-Stage
[staging]

Source code