Skip to content

Commit a5bdc77

Browse files
committed
Bump example
1 parent 878107c commit a5bdc77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

example/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ Example of using the `aws-lambda-function-url-emulator` and RIE with Docker Comp
33
```sh
44
$ docker compose up -d
55
$ curl 'http://localhost:8080/foo/bar?testkey=testvalue'
6-
# {"message":"Hello from Lambda!","event":{"version":"2.0","routeKey":"","rawPath":"/foo/bar","rawQueryString":"testkey=testvalue","headers":{"Accept":"*/*","User-Agent":"curl/8.7.1"},"queryStringParameters":{"testkey":"testvalue"},"requestContext":{"routeKey":"","accountId":"","stage":"","requestId":"","apiId":"","domainName":"","domainPrefix":"","time":"","timeEpoch":0,"http":{"method":"GET","path":"/foo/bar","protocol":"HTTP/1.1","sourceIp":"172.18.0.1:65364","userAgent":"curl/8.7.1"},"authentication":{"clientCert":{"clientCertPem":"","issuerDN":"","serialNumber":"","subjectDN":"","validity":{"notAfter":"","notBefore":""}}}},"isBase64Encoded":false},"context":{"callbackWaitsForEmptyEventLoop":true,"functionVersion":"$LATEST","functionName":"test_function","memoryLimitInMB":"3008","logGroupName":"/aws/lambda/Functions","logStreamName":"$LATEST","invokedFunctionArn":"arn:aws:lambda:us-east-1:012345678912:function:test_function","awsRequestId":"d4908d95-5884-435a-988d-3a67835d9210"}}
6+
# {"message":"Hello from Lambda!","event":{"version":"2.0","routeKey":"$default","rawPath":"/foo/bar","rawQueryString":"testkey=testvalue","headers":{"Accept":"*/*","User-Agent":"curl/8.7.1"},"queryStringParameters":{"testkey":"testvalue"},"requestContext":{"routeKey":"$default","accountId":"","stage":"$default","requestId":"","apiId":"","domainName":"localhost:8080","domainPrefix":"","time":"26/Dec/2024:01:27:25 +0000","timeEpoch":1735176445,"http":{"method":"GET","path":"/foo/bar","protocol":"HTTP/1.1","sourceIp":"xxx","userAgent":"curl/8.7.1"},"authentication":{"clientCert":{"clientCertPem":"","issuerDN":"","serialNumber":"","subjectDN":"","validity":{"notAfter":"","notBefore":""}}}},"isBase64Encoded":false},"context":{"callbackWaitsForEmptyEventLoop":true,"functionVersion":"$LATEST","functionName":"test_function","memoryLimitInMB":"3008","logGroupName":"/aws/lambda/Functions","logStreamName":"$LATEST","invokedFunctionArn":"arn:aws:lambda:us-east-1:012345678912:function:test_function","awsRequestId":"142e22ca-ae7d-4ada-bb5c-4e3a646c70f1"}}
77
```

0 commit comments

Comments
 (0)