AWS_ACCESS_KEY_ID
ASIA4RRTJOIH3ETOLIZF
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
173
AWS_LAMBDA_INITIALIZATION_TYPE
on-demand
AWS_LAMBDA_LOG_GROUP_NAME
/aws/lambda/count
AWS_LAMBDA_LOG_STREAM_NAME
2021/08/05/[173]e0d547d28215430fa4b4afe474906f50
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
41501
PROTO
HTTP/1.1
PWD
/var/task
REMOTEADDR
127.0.0.1:58670
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
[Fri, 18 Jun 2021 11:07:15 GMT]
User-Agent
[CCBot/2.0 (https://commoncrawl.org/faq/)]
Via
[1.1 b5e757a7da6f6fe6261f56a8a9646881.cloudfront.net (CloudFront)]
X-Amz-Cf-Id
[s-XgZemx_p5huZb27r7JeuCKAJrYgMoV6JD0lKMOQ-OeeDf1y3Jcbw==]
X-Amzn-Trace-Id
[Root=1-610b33af-2e03ba836a3bce2c5e7e1096]
X-Context
[{"apiId":"nfmu0f3g7g","resourceId":"kmq9s586el","requestId":"59febce0-5522-4afa-8253-f785195b58c5","accountId":"862322258447","stage":"staging","identity":{"apiKey":"","accountId":"","userAgent":"CCBot/2.0 (https://commoncrawl.org/faq/)","sourceIp":"18.204.48.64","accessKey":"","caller":"","user":"","userARN":"","cognitoIdentityId":"","cognitoIdentityPoolId":"","cognitoAuthenticationType":"","cognitoAuthenticationProvider":""},"authorizer":null}]
X-Forwarded-For
[18.204.48.64, 70.132.33.157]
X-Forwarded-Port
[443]
X-Forwarded-Proto
[https]
X-Request-Id
[59febce0-5522-4afa-8253-f785195b58c5]
X-Stage
[staging]

Source code