Best Way to do Form HTTP Posts to API Gateway From a Static S3 Website


I built a static website using Gatsby. The website has a form that takes name/email/message and posts to API gateway which saves into DynamoDB. I don’t think I need to go the Cognito route because I’m not doing any login activity.

What’s the best and secure way to accomplishing this?

like this =)

1 Like

this is the frontend code:

The form will ping the lambda and send an email via AWS SNS

1 Like