User1364817430 posted
Hi,
For what I have seen, this is nog possible. Retrieving data is done by the default type of an AJAX request and that is GET. What you can try is the following:
- In the upshot.js file, look for the DataProvider.ria.js
- In that part go to the var instance members and look for the get method
- In there you have an ajax call: change this so it uses the type: "POST"
$.ajax({
url: upshot.DataProvider.normalizeUrl(parameters.url) + "json/" + operation,
data: $.extend({}, transformParameters(operationParameters), transformQuery(queryParameters || {})),
success: success && function () {
arguments[0] = getQueryResult(arguments[0]);
success.apply(self, arguments);
},
error: error && function (jqXHR, statusText, errorText) {
error.call(self, jqXHR.status, self._parseErrorText(jqXHR.responseText) || errorText, jqXHR);
},
dataType: "json",
type: "POST"
});
Try this, I don't know if it will work, but it think it will. Ofcourse don't forget to add an attribute on the function you call in the service.
greetings
Kristof