Hi I have a very strange problem when trying to make PUT request using easyXDM.
that.xhr.request({
url: url,
method: "PUT",
data: [{"foo":"test"}],
headers: { "Content-Type": "application/json;" }
}, function (response, xhr) {
options.success(jQuery.parseJSON(response.data));
},function(err) {
alert(err);
});
This does not generate request body message, instead it treats data as query string parameter. Is there anything that can be done regarding this? Thnx