‎2021 Jun 14 6:28 AM
Hi guys I'm trying to work out the patch function but not working in my server. See below the error.
i don't know the preflight error.

and this is my sample code.
$.ajax({
url: "https://192.1.3.92:50000/b1s/v1/BusinessPartners('TC001')",
xhrFields: {
withCredentials: true
},data: jData,
type: "PATCH",
dataType: "json",
success: function(json) {
console.log("Ok");
},
error: function(errorThrown) {
console.log("Error: " + errorThrown);
}
});