Using a python flask server, I want to be able to throw an http error response with the abort command and use a custom response string and a custom message in the body
I simply do it like this:
abort(400, description="Required parameter is missing")