title: Sending data from ajax to python ( I work with odoo)
body: <p>I'm trying to send data from ajax to python and It didn't works. It didn't accept any data in ajax . 
  when I make :
   data:{"email",email),
  It returns : 
  index() got an unexpected keyword argument 'email'</p>
  
  <p>XMl
  </p>
  
  <p>js</p>
  
  <pre><code>function getRegions()
  { email=$('#email_conn').val();
  
                  $.ajax({
                      url: "/regions",
                      data:{"email",email),
                      type: "POST",
                      dataType: 'json',
                      traditional: true,
                      success: function(data){
                          alert(data.message);
  
  
                      },
                      error: function(data){
  
                      alert("Erreur");
                      }
  
                  });
  </code></pre>
  
  <p>Python</p>
  
  <pre><code>@http.route('/regions', auth="public", website=True, type='http')
  def index(self):
      result = {}
      data = cgi.FieldStorage()
      output = data.getvalue("email")
      result['a'] = output
      return json.dumps(result)
  </code></pre>
  
  <p>I don't know why it didn't accept data :( 
  Your help please </p>