web/profil2/app.js @@ -86,6 +86,7 @@ if(method === 'GET') { xhr.send(); } else if(method === 'POST' || method === 'PUT') { xhr.setRequestHeader('Content-type', 'application/x-www-form-urlencoded'); xhr.send(data); } };