ECC pair

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