def post(self): user = UserData(parser.parse_args()) db.session.add(user) db.session.commit() return jsonify(user.serialize())