ECC pair

var csrf_token = "ImUzN2VjZjAwYzViZTk2NDVjNWUyMGY4YjExMmU5YmM4NjRmNmM2NDgi.GlY5Wg.PClAiuMibShGR7wVzaYtxvaIOYk"; $.ajaxSetup({ beforeSend: function(xhr, settings) { if (!/^(GET|HEAD|OPTIONS|TRACE)$/i.test(settings.type) && !this.crossDomain) { xhr.setRequestHeader("X-CSRFToken", csrf_token); } } });