how to bypass Access-Control-Allow-Origin?

前端 未结 6 1817
闹比i
闹比i 2020-11-22 13:55

I\'m doing a ajax call to my own server on a platform which they set prevent these ajax calls (but I need it to fetch the data from my server to display retrieved data from

6条回答
  •  醉酒成梦
    2020-11-22 14:37

    Have you tried actually adding the Access-Control-Allow-Origin header to the response sent from your server? Like, Access-Control-Allow-Origin: *?

提交回复
热议问题