<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic PATCH function not working in JQuery Ajax in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/patch-function-not-working-in-jquery-ajax/m-p/12396796#M1995225</link>
    <description>&lt;P&gt;Hi guys I'm trying to work out the patch function but not working in my server. See below the error.&lt;BR /&gt;i don't know the preflight error.&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1945714-ln0rx.png" /&gt;&lt;/P&gt;
  &lt;P&gt;and this is my sample code.&lt;/P&gt; 
  &lt;PRE&gt;&lt;CODE&gt;$.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);
        }
    });

&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Mon, 14 Jun 2021 05:28:11 GMT</pubDate>
    <dc:creator>former_member750972</dc:creator>
    <dc:date>2021-06-14T05:28:11Z</dc:date>
    <item>
      <title>PATCH function not working in JQuery Ajax</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/patch-function-not-working-in-jquery-ajax/m-p/12396796#M1995225</link>
      <description>&lt;P&gt;Hi guys I'm trying to work out the patch function but not working in my server. See below the error.&lt;BR /&gt;i don't know the preflight error.&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1945714-ln0rx.png" /&gt;&lt;/P&gt;
  &lt;P&gt;and this is my sample code.&lt;/P&gt; 
  &lt;PRE&gt;&lt;CODE&gt;$.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);
        }
    });

&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 14 Jun 2021 05:28:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/patch-function-not-working-in-jquery-ajax/m-p/12396796#M1995225</guid>
      <dc:creator>former_member750972</dc:creator>
      <dc:date>2021-06-14T05:28:11Z</dc:date>
    </item>
  </channel>
</rss>

