Skip to content

Using CloudFront-Viewer-Country and Lambda to return the origin country

License

Notifications You must be signed in to change notification settings

look4regev/request-country

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

request-country

Using CloudFront-Viewer-Country and Lambda to return the origin country

deploy

serverless deploy

query

curl -X GET https://<API_GATEWAY_ENDPOINT>/

The response will be a JSON object with a viewer_country key that contains the country code of the viewer.

About

Using CloudFront-Viewer-Country and Lambda to return the origin country

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages