...
Code Block | ||
---|---|---|
| ||
$.ajax({ url: "https://local.cipher.kiev.ua:9090/api/v1/ui", type: "PUT" }).done(function (jsonResponse, textStatus, xhr) { // some handler code }).fail(function (xhr) { try { var jsonResponse = JSON.parse(xhr.responseText); message = jsonResponse.message; } catch (e) { message = (xhr.responseText == undefined) ? "Помилка при виокнаннівиконанні запиту на відображення UI." : xhr.responseText; } }) |
...