Access to fetch is blocked by CORS policy

前端 未结 0 1096
無奈伤痛
無奈伤痛 2020-12-24 02:14

I am trying to send a PUT request to the GitHub API to upload a file to a repository. The following code generates the CORS policy error.

             fetch(u         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题