How to apply CORS to a specific rest endpoint -


i not sure whether have right understanding cors, possible apply cors specific rest endpoint under domain.

example: there 2 rest endpoints , b under domain https://www.example.com/, can apply cors rest endpoint a.

i think cors applied @ domain level, not @ endpoint level.

yes can enable cors access without while keeping disabled b.

the mechanism cors interaction browsers through http headers. can choose return cors headers in responses requests while choosing not return them in responses requests b.


Popular posts from this blog

php - How should I create my API for mobile applications (Needs Authentication) -

5 Reasons to Blog Anonymously (and 5 Reasons Not To)

Google AdWords and AdSense - A Dynamic Small Business Marketing Duo