質問するログイン新規登録

回答編集履歴

2

URL修正

2020/10/26 14:46

投稿

aachyee
aachyee

スコア114

answer CHANGED
@@ -1,6 +1,6 @@
1
1
  ```javascript
2
2
  $.ajax({
3
- url: 'https://https://teratail.com/',
3
+ url: 'http://localhost:8080/api/test',
4
4
  type: 'post',
5
5
  dataType: 'json',
6
6
  data: human

1

タブ削除

2020/10/26 14:46

投稿

aachyee
aachyee

スコア114

answer CHANGED
@@ -2,7 +2,7 @@
2
2
  $.ajax({
3
3
  url: 'https://https://teratail.com/',
4
4
  type: 'post',
5
- dataType: 'json',
5
+ dataType: 'json',
6
6
  data: human
7
7
  })
8
8
  ```