REST Calls Across HNSCs (CORS)

First of all, what is CORS? It stands for Cross-Origin Resource Sharing, and if your eyes have already glazed over a little, don’t worry; it really isn’t that complicated. Say you have a site collection at https://intellipointsol.com, and it has some JavaScript that wants to load something from https://source.intellipointsol.com. The thing on https://source.intellipointsol.com is a cross-origin resource, because https://intellipointsol.com is an origin and https://source.intellipointsol.com is a different origin. Now the origin is just the part of the URL up to the fully qualified host name (and port if a non-standard port is used), so https://intellipointsol.com/something and https://intellipointsol.com/somethingelse are NOT cross-origin resources, they both have the same origin of https://intellipointsol.com.

Continue reading “REST Calls Across HNSCs (CORS)”

Scroll to top