Website Developer Question:

Download Job Interview Questions and Answers PDF

Please explain what is CORS? How does it work?

Website Developer Interview Question
Website Developer Interview Question

Answer:

(CORS) Cross-Origin Resource Sharing is a mechanism that enables many resources (e.g., JavaScript, fonts etc.) on a web page to be requested from another domain outside the domain from which the resource originated. It is a mechanism supported in HTML5 that manages XMLHttpRequest access to a domain different.

Download Website Developer Interview Questions And Answers PDF

Previous QuestionNext Question
Explain me what is the correct way to include JavaScript into your HTML?Tell me what is long polling?