In a simple prototype app utilizing AngularJS with a backend server powered by Domino, I encountered an issue when making a call like this:
$http({ url: $scope.hrEventsPath,
method : "GET",
params : { 'readform' : '',
'eventid' : $scope.queryStringPairs.eventid,
'userid' : $scope.queryStringPairs.userid,
'login' : $scope.queryStringPairs.login } }).
success(function(data, status) {
// happy stuff
}).
error(function(data, status) {
// error handling stuff
});
It seems that Angular arranges all the parameters in alphabetical order before sending the request. This causes issues with the Domino server as it expects the 'readform' parameter to be first, not 'eventid'. (Even if 'readform' is empty)
Is there a way to control the order of parameters in Angular or should I consider a different approach regardless of Domino's configuration?
Thank you for your assistance.