質問編集履歴
2
content-type => Content-Type
test
CHANGED
File without changes
|
test
CHANGED
@@ -38,7 +38,7 @@
|
|
38
38
|
|
39
39
|
xhr.open('POST', 'http://localhost:8080');
|
40
40
|
|
41
|
-
xhr.setRequestHeader('
|
41
|
+
xhr.setRequestHeader('Content-Type', 'text/plain;charset=UTF-8');
|
42
42
|
|
43
43
|
var text = "こんにちは";
|
44
44
|
|
1
Function => function
test
CHANGED
File without changes
|
test
CHANGED
@@ -32,7 +32,7 @@
|
|
32
32
|
|
33
33
|
**[Javascript]**
|
34
34
|
|
35
|
-
|
35
|
+
function action(){
|
36
36
|
|
37
37
|
var xhr = new XMLHttpRequest();
|
38
38
|
|