AWS_ACCESS_KEY_ID
ASIA4RRTJOIH5UGCINOV
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
57
AWS_LAMBDA_INITIALIZATION_TYPE
on-demand
AWS_LAMBDA_LOG_GROUP_NAME
/aws/lambda/count
AWS_LAMBDA_LOG_STREAM_NAME
2021/01/27/[57]f85b2877dba04e1b8d8ac4bf6d56d116
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
45267
PROTO
HTTP/1.1
PWD
/var/task
REMOTEADDR
127.0.0.1:58220
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]
User-Agent
[CCBot/2.0 (https://commoncrawl.org/faq/)]
Via
[1.1 6f18ca2e5109f8aa7cd1212932dc4e9b.cloudfront.net (CloudFront)]
X-Amz-Cf-Id
[GNPmU5__bImf-G3APyxyKVgNDDY9-tlaiM76DlDhZg74LDubPHpNJw==]
X-Amzn-Trace-Id
[Root=1-6011b65f-1a8370ca37ce8c106baef93c]
X-Context
[{"apiId":"nfmu0f3g7g","resourceId":"kmq9s586el","requestId":"1f866604-5113-4caa-9906-6d44a8763546","accountId":"862322258447","stage":"staging","identity":{"apiKey":"","accountId":"","userAgent":"CCBot/2.0 (https://commoncrawl.org/faq/)","sourceIp":"3.237.205.144","accessKey":"","caller":"","user":"","userARN":"","cognitoIdentityId":"","cognitoIdentityPoolId":"","cognitoAuthenticationType":"","cognitoAuthenticationProvider":""},"authorizer":null}]
X-Forwarded-For
[3.237.205.144, 130.176.137.91]
X-Forwarded-Port
[443]
X-Forwarded-Proto
[https]
X-Request-Id
[1f866604-5113-4caa-9906-6d44a8763546]
X-Stage
[staging]

Source code