How do we return html as the response of a Lambda Function?
Contributor guide
Tech stack
javascriptnodejsaws
Domain
backendcloud
Issue type
documentation
DifficultyEstimated implementation difficulty for a new contributor, from 1 for very small changes to 5 for expert-level work.
2
Estimated timeA rough time range for an experienced contributor to investigate, implement, test, and prepare a pull request.
under 1 hour
Activity statusHow available the issue appears right now: fresh, active, stale, blocked, or waiting on maintainer input.
stale
ClarityHow clearly the issue explains the expected change, acceptance criteria, and next step.
clear
Prerequisites
AWS Lambda basicsJavaScriptHTTP response handling
Newbie friendlinessA 1-100 score estimating how approachable this issue is for first-time contributors.
70
Research direction
Investigate how to set the response content type to text/html in AWS Lambda. Look at the AWS documentation and examples in the repository. Possibly refer to the comments for existing solutions. The answer should involve modifying the Lambda function to return an HTML string with appropriate headers.