копипаста
stackoverflow.com/questions/2955947/how-do-i-get-t...
$.ajax({
url: "
dev.elsyton.com/auth/v1/auth",//адрес
data: JSON.stringify(info),//информация
dataType: "json",//формат
headers: {"Content-Type": "application/json"},//заголовок
type: "PUT",
beforeSend: feel_work(),
complete: function (look_answer){
var answer_status = look_answer.status; //200
var head = look_answer.getAllResponseHeaders(); //Detail header info
authorization (answer_status);
}