ECC pair

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