Запрос служит для получения информации о (А)ЦСК, работу с которыми поддерживает Сервис.
URL-адрес запроса
https://local.cipher.kiev.ualocalhost:9094/api/v1/certificateAuthority/supported
...
Code Block | ||
---|---|---|
| ||
$.ajax({ url: "https://local.cipher.kiev.ualocalhost:9094/api/v1/certificateAuthority/supported", type: "GET", dataType: "json", cache: false }).done(function (jsonResponse, textStatus, xhr) { ca = jsonResponse.ca; }).fail(function (xhr) { try { var jsonResponse = JSON.parse(xhr.responseText); message = jsonResponse.message; } catch (e) { message = (xhr.responseText == undefined) ? "Ошибка при получении списка поддерживаемых (А)ЦСК." : xhr.responseText; } }) |
...