The CORS Header 'Access-Control-Allow-Origin' is missing

后端 未结 4 867
自闭症患者
自闭症患者 2020-12-14 11:25

I\'m trying to use webUntis\'(docs) API for a school project. For now I\'m just trying to establish any kind of connection to the API.

var result;
const url          


        
4条回答
  •  忘掉有多难
    2020-12-14 12:07

    Sending Access-Control-Allow-Origin to the server solves nothing. Server has to send Access-Control-Allow-Origin set to * to your browser to allow ajax requests to run.

提交回复
热议问题