Using JSON Schema Validation with the AWS API Gateway

Imagine you’re writing a serverless API using AWS Lambda and API Gateway. If you want to accept JSON payloads from POST requests that contain data created by your frontend client you may end up needing to validate that data to make sure it conforms to your expectations before you process it. Let’s look at a simple way of doing this with API Gateway’s JSON Schema validation.

I’m thrilled to announce that my latest Pluralsight course is here!

A photo of a course slide with the title and my headshot

In my new course, Using the Serverless Framework on AWS with Node.js, I’ve put together an introduction to the Serverless Framework that should be suited to anyone interested in learning more about serverless tools and technologies.