質問編集履歴
1
誤字の修正
title
CHANGED
File without changes
|
body
CHANGED
@@ -67,7 +67,7 @@
|
|
67
67
|
var xhr = new XMLHttpRequest();
|
68
68
|
xhr.open("POST", $('#smp_svr').val() + "/odata/applications/latest/" + $('#smp_app').val() + "/Connections",true);
|
69
69
|
xhr.setRequestHeader("Content-Type", "application/json");
|
70
|
-
xhr.setRequestHeader("Authorization", "Basic " + btoa("
|
70
|
+
xhr.setRequestHeader("Authorization", "Basic " + btoa("tmc48" + ":" + "password"));
|
71
71
|
xhr.send('{"DeviceType":"' + $("#smp_os").val() + '"}');
|
72
72
|
xhr.onload = function(e){
|
73
73
|
var parser = new DOMParser();
|