1.1.0 • Published 9 years ago
connect-requires-json v1.1.0
connect-requires-json
This middleware will validate incoming request bodies, throwing a 400 when the body is empty and 415 when the Content-Type header does not contain json.
This middleware will validate incoming request bodies, throwing a 400 when the body is empty and 415 when the Content-Type header does not contain json.