Google News
logo
Rest API - Quiz(MCQ)
What must be enabled in order for a RESTful web service to receive invocations from different domains, subdomains or ports?
A)
CORS
B)
SSL
C)
Headers
D)
Cache control

Correct Answer :   CORS


Explanation : By default, a RESTful web service will not allow requests from clients outside of the domain and port on which it is hosted. To allow this, cross-origin resource sharing, or CORS, must be enabled.

Advertisement