Hi
I have a custom BC Gadget which communicates to IS using REST. I am making this REST call using RestServiceProvider from BC (code below). I made sure I added required headers to be allowed on CORS extended settings on IS.
Although this works fine on Google Chrome, the same app isn’t working on Microsoft Edge and Internet Explorer 11.x
Extracted below from Microsoft Edge’s network logs:
My CORS extended settings on IS:
My code:
$scope.restClient.url(urlString)
.method("GET")
.serverAlias(selectedServerAlias).remote(true).cors(true).scope($scope)
.gadgetConfig(gadgetConfig)
.success(function (response, $scope) {
$scope.searchResults.showResults = true;
}).error(function (response, $scope, status, headers, config) {
$scope.eventBus.fireEvent(NotificationConstants.ERROR, "INVOKING REST URL:" + $scope.URLS[REST_URL_TO_INVOKE].url + "----STATUS:" + status);
}).invoke();