What is wrong with this code? @app.route("/quote", methods=["GET", "POST"])…
- User
What is wrong with this code? @app.route("/quote", methods=["GET", "POST"]) @login_required def quote(): """Get stock quote.""" if request.method == "GET": return render_template("quote.html") if request.method == "POST": my_symbol = request.args.get('symbol') return redirect("/quoted)
- Assistant