我正在尝试在tomcat 8.5版本中安装SSL。我在server.xml中包含了connector port = 8443配置。当我尝试运行https://locahost:9090/photo时。我看到一些错误
var json={
"comment": "Updated tt.json",
"changes": [{
"changeType": 2,
"item": {
"path": "$/Scrum2015/Buildtest/CoreSolutionDemo/WebApplication1/tt.json",
"contentMetadata": { "encoding": 65001 },
"version": 754
},
"newContent": {
"content": "[ {\"hello\" : \"Test2\"} ]",
"contentType": "RawText"
}
}]
};
$.ajax({
type: 'POST',
url: 'https://XXX.visualstudio.com/_apis/tfvc/changesets?api-version=3.0-preview.2',
contentType: 'application/json',
data: JSON.stringify(json),
cache: false,
dataType: 'json',
beforeSend: function (xhr) {
xhr.setRequestHeader("Authorization", "Basic " + btoa("name" + ":" + "password or PAT"));
},
}).done(function (data) {
var s1 = "ss";
}).error(function (e) {
var s = "ss";
});
})
请告知需要做什么
由于 巴拉