We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

When updating with ODataV4Adaptor use put instead of patch

Thread ID:





145169 Jun 11,2019 07:36 AM UTC Jun 12,2019 10:00 AM UTC Angular - EJ 2 2
Tags: Grid
Evgeny Agusev
Asked On June 11, 2019 07:36 AM UTC

Hi, I want to use HTTP PUT instead of HTTP PATCH. Is it possible?

Evgeny Agusev
Replied On June 11, 2019 07:43 AM UTC

this.data = new DataManager({
url: 'http://localhost:64691/odata/',
adaptor: new ODataV4Adaptor({ updateType: 'PUT' })

Hariharan J V [Syncfusion]
Replied On June 12, 2019 10:00 AM UTC

Hi Evgeny, 

Thanks for contacting us. 

Yes, you can change PUT instead of PATCH request using updateType property of data manager.  

this.data = new DataManager({ 
      url: 'odata/', 
      adaptor: new ODataV4Adaptor({ updateType: 'PUT' }) 

Please get back to us if you need further assistance from us. 



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon