![](/img/trans.png)
[英]No 'Access-Control-Allow-Origin' header is present on the requested resource React Django error
[英]While Calling Django Api On React Error is No 'Access-Control-Allow-Origin' header is present on the requested resource
任何人都請幫助我 我需要在本周提交我的項目 我遇到了一個星期的問題。
錯誤是:-->
從源“http://localhost:3000”訪問“http://127.0.0.1:8000/list/single/2”的 XMLHttpRequest 已被 CORS 策略阻止:沒有“Access-Control-Allow-Origin”標頭存在於請求的資源上。
請幫幫我😢
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.