AWS_ACCESS_KEY_ID
ASIA4RRTJOIH75TDEKQ4
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/10/26/[173]783590b34b2146a7a817c691c6cf6eb0
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.129: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
45513
PROTO
HTTP/1.1
PWD
/var/task
REMOTEADDR
127.0.0.1:36586
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.129
_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
[Sat, 25 Sep 2021 23:48:00 GMT]
User-Agent
[CCBot/2.0 (https://commoncrawl.org/faq/)]
Via
[1.1 ed8e6c4476f2632eef2c7ce856161af0.cloudfront.net (CloudFront)]
X-Amz-Cf-Id
[L6pb-ikRhhzYL-9wmpqI3k5EOlGCHUh4KftD8LzHt5_idL-1mpQerQ==]
X-Amzn-Trace-Id
[Root=1-6177b3cf-5f05dd4e262d75f718f08f16]
X-Context
[{"apiId":"nfmu0f3g7g","resourceId":"kmq9s586el","requestId":"54e147a9-1460-441a-9b59-8e8d8ba8fab9","accountId":"862322258447","stage":"staging","identity":{"apiKey":"","accountId":"","userAgent":"CCBot/2.0 (https://commoncrawl.org/faq/)","sourceIp":"44.192.54.67","accessKey":"","caller":"","user":"","userARN":"","cognitoIdentityId":"","cognitoIdentityPoolId":"","cognitoAuthenticationType":"","cognitoAuthenticationProvider":""},"authorizer":null}]
X-Forwarded-For
[44.192.54.67, 70.132.33.149]
X-Forwarded-Port
[443]
X-Forwarded-Proto
[https]
X-Request-Id
[54e147a9-1460-441a-9b59-8e8d8ba8fab9]
X-Stage
[staging]

Source code