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

質問編集履歴

1

エラー文の追加

2019/07/10 17:37

投稿

jpskgc
jpskgc

スコア19

title CHANGED
File without changes
body CHANGED
@@ -18,7 +18,22 @@
18
18
  at createError (createError.js:17)
19
19
  at XMLHttpRequest.handleError (xhr.js:80)
20
20
  ```
21
-
21
+ ```
22
+ Request URL: http://localhost:4000/api/post
23
+ Request Method: OPTIONS
24
+ Status Code: 404 Not Found
25
+ Remote Address: [::1]:4000
26
+ Referrer Policy: no-referrer-when-downgrade
27
+ Content-Length: 18
28
+ Content-Type: text/plain
29
+ Date: Wed, 10 Jul 2019 17:36:01 GMT
30
+ Provisional headers are shown
31
+ Access-Control-Request-Headers: content-type
32
+ Access-Control-Request-Method: POST
33
+ Origin: http://localhost:3000
34
+ Referer: http://localhost:3000/post/finish
35
+ User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36
36
+ ```
22
37
  ### 該当のソースコード
23
38
 
24
39
  ```React