I created the server application using Node and Express 4, and the front-end using jQuery. I have an Ajax call sending some data using POST to the server:
$.ajax({
cache: false,
type: 'POST',
url: Config.API_ENDPOINT_REGISTRATION,
dataType : 'json',
data: info,
success: this.successHandler.bind(this)
});
Everything works as expected in all modern browsers except IE8 and IE9.
To make it possible to call Ajax from jQuery, I had to use the XDomainRequest script provided here: https://github.com/MoonScript/jQuery-ajaxTransport-XDomainRequest
Before adding this script, there was no call.
Now the problem is that the request.body that I get in Express is always empty if the data comes from IE8 / IE9.
, - bodyParser, , IE8/IE9: request.body .
, .
-, ?