title: Flask request.form not retrieving any data
body: <p>I'm posting data to the following Flask view using an HTML form. For some reason, the server is never created. I've confirmed that the <code>create_server</code> method works from the interpreter. Another form I'm using to log in works. Why isn't this working?</p>
  
  <pre><code>@app.route('/add-server/', methods=['GET', 'POST'])
  def add_server_view():
      if request.method == 'post':
          server_name = request.form['server_name']
          create_server(server_name)
          return redirect(url_for('index')
  
      return render_template('add_server.html')
  </code></pre>
  
  <pre class="lang-html prettyprint-override"><code>&lt;form method=post&gt;
      &lt;input name=server_name&gt;
  &lt;/form&gt;
  </code></pre>