I have found :
beforeSend: function (jqxhr, settings) {
jqxhr.setRequestHeader (“Authorization”, “Bearer {{token}}” );
jqxhr.setRequestHeader(“Accept”, “application/ld+json”);
},
accept : jqxhr.setRequestHeader(“Accept”, “application/ld+json”);
thanks