Sign in
Log inSign up
Matteo Collina

2.1K reads

2 comments

Damien Garrido
Damien Garrido
Jun 18, 2024

Shouldn't this article be entitled "How to validate API requests"?

·
Damien Garrido
Damien Garrido
Jun 18, 2024

I would also respond with an HTTP 400 for a failed request validation (and an HTTP 500 for a failed response validation).

·