flask_accepts icon indicating copy to clipboard operation
flask_accepts copied to clipboard

http status handling from obj to be serialized

Open DevArKaDiA opened this issue 3 years ago • 0 comments

To change the serialized response of the decorator, please add a key "status" in your obj to be serialized

{ ... "status": int }

this field going to override the HTTP RESPONSE STATUS, default = 200

DevArKaDiA avatar Nov 05 '21 15:11 DevArKaDiA