Uncaught (in promise) TypeError: Failed to fetch and Cors error

前端 未结 4 1054
无人共我
无人共我 2020-11-30 04:05

having a problem with getting data back from database. I am trying my best to explain the problem.

1.If I leave \"mode\":\"no-cors\" inside the code below, then I ca

4条回答
  •  孤城傲影
    2020-11-30 04:31

    In my case, the problem was the protocol. I was trying to call a script url with http instead of https.

提交回复
热议问题