Basic Rod implementation in AWS Lambda. Spins up a function url.
Deploy it via the AWS SAM cli:
sam build && sam deploy --guided
then test it out in the console with this Event JSON:
{
"path": "/",
"httpMethod": "GET",
"queryStringParameters": {
"url": "https://www.uber.com"
}
}
or hit the endpoint directly:
curl <your_function_url>?url=https://www.uber.com
Feel free to open an issue with questions or a PR if we could be doing something better!