Enabling CORS on the client side

前端 未结 2 618
野趣味
野趣味 2021-01-24 18:44

I\'m creating a web appliacation that will run on a server that I can not manage nor modify in any case.

Within that application, I need to exceute a AJAX call to a dif

2条回答
  •  一整个雨季
    2021-01-24 19:30

    CORS is an option with the SERVER. In no way client can by themselves enable CORS.

    If client would have been allowed to do that, the whole purpose of CORS would be defeated.

提交回复
热议问题