AJAX What is AJAX Question #19100
Single Choice Easy

QWhich of the following is true regarding the Same-Origin Policy in AJAX?

ID: #19100 What is AJAX 118 views
Question Info
#19100Q ID
EasyDifficulty
What is AJAXTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A It allows cross-origin requests by default
  • B It restricts cross-origin requests for security reasons
  • C It applies only to GET requests
  • D It is not relevant in AJAX applications
Correct Answer

Explanation

The Same-Origin Policy in AJAX restricts cross-origin requests by preventing web pages from making requests to a different domain than the one that served the web page, enhancing security.

Share This Question

Challenge a friend or share with your study group.