質問編集履歴
1
API 500エラーのresponse内容を追記しました。
test
CHANGED
File without changes
|
test
CHANGED
@@ -519,3 +519,57 @@
|
|
519
519
|
}
|
520
520
|
|
521
521
|
```
|
522
|
+
|
523
|
+
|
524
|
+
|
525
|
+
# エラーコード
|
526
|
+
|
527
|
+
```
|
528
|
+
|
529
|
+
■ response.data
|
530
|
+
|
531
|
+
{message: "サーバーエラー", errors: Array(0)}
|
532
|
+
|
533
|
+
errors: []
|
534
|
+
|
535
|
+
message: "サーバーエラー"
|
536
|
+
|
537
|
+
__proto__: Object
|
538
|
+
|
539
|
+
|
540
|
+
|
541
|
+
■ response.status
|
542
|
+
|
543
|
+
500
|
544
|
+
|
545
|
+
|
546
|
+
|
547
|
+
■ response.statusText
|
548
|
+
|
549
|
+
Internet Server Error
|
550
|
+
|
551
|
+
|
552
|
+
|
553
|
+
■ response.headers
|
554
|
+
|
555
|
+
{cache-control: "no-cache, private", connection: "close", content-type: "application/json", date: "Sun, 03 Jan 2021 04:24:04 GMT, Sun, 03 Jan 2021 04:24:04 GMT", host: "127.0.0.1:8000", …}
|
556
|
+
|
557
|
+
cache-control: "no-cache, private"
|
558
|
+
|
559
|
+
connection: "close"
|
560
|
+
|
561
|
+
content-type: "application/json"
|
562
|
+
|
563
|
+
date: "Sun, 03 Jan 2021 04:24:04 GMT, Sun, 03 Jan 2021 04:24:04 GMT"
|
564
|
+
|
565
|
+
host: "127.0.0.1:8000"
|
566
|
+
|
567
|
+
x-powered-by: "PHP/7.4.9"
|
568
|
+
|
569
|
+
x-ratelimit-limit: "60"
|
570
|
+
|
571
|
+
x-ratelimit-remaining: "50"
|
572
|
+
|
573
|
+
__proto__: Object
|
574
|
+
|
575
|
+
```
|