รวมบทความเกี่ยวกับ AI, Machine Learning, Deep Learning และเทคโนโลยี AI ทั้งหมด
ทุกคนที่เขียนเว็บเคยเจอ... "No 'Access-Control-Allow-Origin' header is present" แค่ฟังชื่อ error ก็รู้สึกปวดหัวตึ้บแล้ว ฝั่ง front-end โทษ back-end ว่า "ไม่ยอมเปิด CORS" ฝั่ง back-end โทษ front-end...
Access to fetch at 'https://api.example.com/data' from origin 'https://app.example.com' has been blocked by CORS policy... ประโยคนี้แหละครับ ที่ทำให้ dev อย่างเรา ๆ ต้องหยุดทุกอย่างแล้วมานั่งงงกับ br...