def post(self): """Create a new user""" us = User() fill_object(us, request.json) db.session.add(us) db.session.commit() return msg(us.id_user, 'id')