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

java - Cannot send AES encrypted messages of over 47 characters -

php - How to set default value of a select dynamically from database using smarty? -

telerik - Reformat image format in PDF -