ECC pair

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