...
URL-адрес запроса
https://localhost:90929094/api/v1/certificateInfo/{keyType}
...
Code Block | ||
---|---|---|
| ||
$.ajax({ url: "https://localhost:90929094/api/v1/certificateInfo/signature", type: "GET", dataType: "json", cache: false }).done(function (jsonResponse, textStatus, xhr) { certInfo = jsonResponse; }).fail(function (xhr) { try { var jsonResponse = JSON.parse(xhr.responseText); message = jsonResponse.message; failureCause = jsonResponse.failureCause; } catch (e) { message = (xhr.responseText == undefined) ? "Ошибка при получении дынныхсертификата." : xhr.responseText; } }) |
...