function startJob(id) { jQuery.get(servletURL, { ACTION: "START", ID: id }, function(jsonObject) { printAjaxResponse(jsonObject); }, "json"); }
function startJob(id) { jQuery.get(servletURL, { ACTION: "START", ID: id },{ headers:{ 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') }, function(jsonObject) { printAjaxResponse(jsonObject); }, "json"); }