Why can't I get a json object without the attribute force=True?
Today began testing frameworks restplus for flask.
Faced with the fact that I can not correctly get after post, I need json object.
api.payload is not working, and it returns the value None.
So I can't use the method request.get_json() without an attribute force = True.
ie the data I get using a method like this request.get_json(force=True) and nothing else.
Why is this happening ?
asked June 3rd 19 at 19:05
Find more questions by tags Flask