When we configure CORS for a specific domain (sharepoint), will the other domain still able to access the same API
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2022 08:11 AM
I have a scripted rest API, other domains are able to access the API, whereas unable to access from sharepoint application. I need to enable CORS, by adding the domain, my question is when i do that, will the other domain still be able to access the same API, without any issues, or do i need to all the domain in the configuration. Can someone , please help.
Regards
Aiyshwarya
- Labels:
-
IntegrationHub
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2022 08:18 AM
Hi
yes, they will. CORS is only an issue for AJAX-based requests from a browser on client-side. It seems that your SharePoint is requesting your API from a Client Script.
All other consumers requesting from a server-side script will have no problems.
Maik