ajax cross domain not working in jquery

前端 未结 3 1964
自闭症患者
自闭症患者 2021-01-03 12:16

Error :

Response to preflight request doesn\'t pass access control check: The \'Access-Control-Allow-Origin\' header contains multip

3条回答
  •  盖世英雄少女心
    2021-01-03 12:56

    you can't do ajax operaitons on other websites source code except you have rights. you have to to that on the server side. in php you can use cURL, in .net you can use html agility pack.

提交回复
热议问题