title: Flask not getting any data from jQuery request data
body: <p>I've a handler for a URL,</p>
  
  <pre><code>@app.route("/", methods=['POST'])
  @crossdomain(origin='*')
  def hello():
      ss=str(request.data)
      print ss
      return ss
  </code></pre>
  
  <p>The handler cannot retrive the data part of the request. When using jQuery:</p>
  
  <pre><code>jQuery.ajax(
     {
        type: "POST",
        dataType: "json",
        data:"adasdasd",
        url: 'http://127.0.0.1:5000/',
        complete: function(xhr, statusText)
        {  alert(xhr.responseText) }})
  </code></pre>
  
  <p>nothing is returned</p>