質問編集履歴

2

秘密情報

2020/02/13 06:19

投稿

FUJITOMO37
FUJITOMO37

スコア25

test CHANGED
File without changes
test CHANGED
@@ -78,7 +78,7 @@
78
78
 
79
79
  function downloadFile(doc_id,file_id) {
80
80
 
81
- const url = "https://workflow.nextset.jp/optex/api/public/attach/download";
81
+ const url = "https://workflow.nextset.jp/[テナント名]/api/public/attach/download";
82
82
 
83
83
  const xml = new XMLHttpRequest();
84
84
 

1

charset値がまぎらわしいので、shift-jis⇒utf-8に変更。

2020/02/13 06:19

投稿

FUJITOMO37
FUJITOMO37

スコア25

test CHANGED
File without changes
test CHANGED
@@ -84,7 +84,7 @@
84
84
 
85
85
  xml.open("POST", url, false);
86
86
 
87
- xml.setRequestHeader("content-type", "application/x-www-form-urlencoded;charset=shift-jis");
87
+ xml.setRequestHeader("content-type", "application/x-www-form-urlencoded;charset=UTF-8");
88
88
 
89
89
 
90
90