Any known pattern or best practices for implementing health check endpoint for serverless endpoints?
As you know, every http verb could have it’s own lambda.
GET /users => return all users
I was thinking of adding a query string to all GET endpoints which always return a 200 response. This way we know that the lambda is up and working without actually hitting the service.
GET /users?healthcheck=1 => return a 200