Passing HTTP Post from AWS API GW to Lambda
I process the HTTP POST from a service that does not support JSON (Mailgun). It appears if I create an AWS API GW for POST and pass this to an AWS Lambda function that the data must be in JSON. Other than trying to serialize the POST to JSON (which I would prefer not to), does anyone know if this is the case? I found a solution here, works for me. https://forums.aws.amazon.com/thread.jspa?messageID=673012&tstart=0#673012 The following is from the original post for a complete answer. Step-by-step instructions are as follows: Amazon API Gateway -> Click "Create API". API name = "myTestAPI",