diff --git a/docs/quickstart.rst b/docs/quickstart.rst index 6d641d26..4be9a63f 100644 --- a/docs/quickstart.rst +++ b/docs/quickstart.rst @@ -452,7 +452,7 @@ transmitted in a `POST` or `PUT` request) you can use the :attr:`~flask.request.form` attribute. Here a full example of the two attributes mentioned above:: - @app.route('/login', method=['POST', 'GET']) + @app.route('/login', methods=['POST', 'GET']) def login(): error = None if request.method == 'POST':