質問編集履歴

2

content-type => Content-Type

2020/05/04 10:07

投稿

YUTO_IT
YUTO_IT

スコア20

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('content-type', 'text/plain;charset=UTF-8');
41
+ xhr.setRequestHeader('Content-Type', 'text/plain;charset=UTF-8');
42
42
 
43
43
  var text = "こんにちは";
44
44
 

1

Function => function

2020/05/04 10:07

投稿

YUTO_IT
YUTO_IT

スコア20

test CHANGED
File without changes
test CHANGED
@@ -32,7 +32,7 @@
32
32
 
33
33
  **[Javascript]**
34
34
 
35
- Function action(){
35
+ function action(){
36
36
 
37
37
  var xhr = new XMLHttpRequest();
38
38