Rest console, export as AJAX does not include contentType header

Rest console, export as AJAX does not include contentType header:
options.contentType = “application/json”;

Example generated by the tool did not work with POST and PUT:

var options = {};

options.data = JSON.stringify({
“ytunnus”: “66766”
});

options.type = ‘POST’;
options.url = ‘https://eu-api.backendless.com/B80B1E700/050**81D/data/yritys’;

options.success = function(resp, status, xhr) {
console.log(resp, status, xhr);
};

options.error = function(xhr) {
console.log(JSON.parse(xhr.responseText), xhr);
};

$.ajax(options);

Hello @Jani_v

Thank you for your report. Internal ticket BKNDLSS- 27776 has been created. We will let you know about the fix as soon as possible.

Regards,
Inna

Hello @Jani_v

We’ve just updated cloud servers with a fix for the issue you described above. Could you kindly let us know whether fix works for you well?

Regards,
Inna