CORS & example.com

前端 未结 3 1173
刺人心
刺人心 2021-01-29 14:33

I have a trouble with CORS. I use an API which has

Access-Control-Allow-Origin: http://www.example.com

Because of that, I can\'t access the i

3条回答
  •  广开言路
    2021-01-29 15:40

    No.

    If the Access-Control-Allow-Origin header is example.com and you're attempting to access it from any other origin, you won't be able to.

提交回复
热议问题