setHeader(‘ Access - Contorl - Allow - Origin’ ,‘http://localhost:8080’)只要響應頭裡面的Origin裡面本域(協議、域名、埠)一樣,就可以接受到資料3、降域和Post