質問編集履歴
2
秘密情報
title
CHANGED
File without changes
|
body
CHANGED
@@ -38,7 +38,7 @@
|
|
38
38
|
|
39
39
|
|
40
40
|
function downloadFile(doc_id,file_id) {
|
41
|
-
const url = "https://workflow.nextset.jp/
|
41
|
+
const url = "https://workflow.nextset.jp/[テナント名]/api/public/attach/download";
|
42
42
|
const xml = new XMLHttpRequest();
|
43
43
|
xml.open("POST", url, false);
|
44
44
|
xml.setRequestHeader("content-type", "application/x-www-form-urlencoded;charset=UTF-8");
|
1
charset値がまぎらわしいので、shift-jis⇒utf-8に変更。
title
CHANGED
File without changes
|
body
CHANGED
@@ -41,7 +41,7 @@
|
|
41
41
|
const url = "https://workflow.nextset.jp/optex/api/public/attach/download";
|
42
42
|
const xml = new XMLHttpRequest();
|
43
43
|
xml.open("POST", url, false);
|
44
|
-
xml.setRequestHeader("content-type", "application/x-www-form-urlencoded;charset=
|
44
|
+
xml.setRequestHeader("content-type", "application/x-www-form-urlencoded;charset=UTF-8");
|
45
45
|
|
46
46
|
var data = new Map();
|
47
47
|
var access_token = getAccessToken();
|