I'm very new to the serverless and backend world. I've been looking at tutorials on youtube and on serverless-stack.com (which is really good btw) and they mostly seem to cover React frontend applications and use NodeJS in their AWS Lambda functions.
I want to use Python for my Lambda functions. I'm unsure about how React communicates with those lambda functions (I'm using API Gateway if that makes any difference).
For example, if I I had a note taking application and I wanted to create a new note on DynamoDB, how do I pass the variable from React containing the contents of the note to my Python Lambda function that handles the note creation in DynamoDB?