ECC pair

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