ECC pair

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