...
Code Block | ||
---|---|---|
| ||
$.ajax({ url: "https://crypto.ccs.cipher.kiev.ua:90919093/api/v1/ticket/79343564-147f-4a2a-ac2a-182d7a55f802", type: "DELETE", dataType: "json" }).done(function (jsonResponse, textStatus, xhr) { message = jsonResponse.message; uuid = jsonResponse.ticketUuid; }).fail(function (xhr) { try { var jsonResponse = JSON.parse(xhr.responseText); message = jsonResponse.message; } catch (e) { message = (xhr.responseText == undefined) ? "Ошибка при удалении сессии." : xhr.responseText; } }) |
...