title: request.args.get returns none for ajax request
body: <p>I'm trying to implement in place editing in html5. Trying to implement this </p>
  
  <p><a href="http://w3lessons.info/2014/04/13/html5-inline-edit-with-php-mysql-jquery-ajax/" rel="nofollow">http://w3lessons.info/2014/04/13/html5-inline-edit-with-php-mysql-jquery-ajax/</a></p>
  
  <p>But in flask,ajax and jquery instead.
  When I send ajax request to flask app, it cannot seems to access data i pass for "dd" tag. This is the route function I have </p>
  
  <pre><code>@app.route('/updateNode', methods=['POST'])
  def updateNode():
   fieldToEdit = request.args.get('fieldToEdit', None)
   value = request.args.get('value', None)
  
   app.logger.debug(value)
   app.logger.debug(fieldToEdit)
   if value == None:
      return jsonify(success=0)
   else:
      return jsonify(success=1)
  </code></pre>
  
  <p>Always see None when I check using app.logger.debug(value)</p>
  
  <p>DEBUG in view: None</p>
  
  <p>DEBUG in view: None</p>
  
  <p>My Ajax code is something like this </p>
  
  <pre><code>&lt;script&gt;
  $(document).ready(function(){
    $("dd[contenteditable=true]").blur(function()
    {
      var field_user = $(this).attr("id") ;
      var value = $(this).html() ;
      console.log(field_user);
      console.log(value);
      $.ajax({
        type: "POST",
        url: "/updateNode",
        data: {
          'fieldToEdit' : field_user,
          'value': value
        },
        dataType: "text",
        success: function(rsp){
          console.log("Ajax call was successful" + rsp);
        },
        error: function(e) {
          console.log('request failed ' + e);
        }
      });
    });
  });
  &lt;/script&gt;
  </code></pre>
  
  <p>I can see right value in developer tool console before making ajax call.</p>
  
  <p>My Html code</p>
  
  <pre><code>&lt;li&gt;
    &lt;dl&gt;
     &lt;dt&gt;Age&lt;/dt&gt;
     &lt;dd id="editAge"contenteditable="true"&gt;40&lt;/dd&gt;
    &lt;/dl&gt;
  &lt;/li&gt;
  </code></pre>
  
  <p>Sample code in runnable
  <a href="http://code.runnable.com/me/VqbxNjRjLVNkRnxN" rel="nofollow">http://code.runnable.com/me/VqbxNjRjLVNkRnxN</a></p>
  
  <p>.html() should only return value, so I cannot understand why request.args.get cannot retrieve value from key value pair supplied in data</p>