I've created a web site that when a button is clicked it accesses my AWS API Gateway endpoint which is set as a trigger for my AWS Lambda function. My Lambda function then runs a zip file of my java project.
Nothing is broken and all of this is working as I hoped except for one part: Because there are no HTTP Status responses in the project, the API Gateway just returns "null" when the Lambda function is finished. I can't seem to find a simply way of handling a "null" response to the user. I'd simply like to change it to display some sort of "Success" message.
So my question is, how can I handle a null response from my API Gateway without adding any code to my project?