sending PATCH request instead of PUT request

Hi,
is it possible to send a PATCH request instead of a PUT request using sfDatamanager and WebApiAdaptor ?
Currently I'm using sfDatamanager in sfGrid and it seems that I'm only able to send PUT request.
thanks a lot for your help

1 Reply

RS Renjith Singh Rajendran Syncfusion Team October 30, 2020 12:08 PM UTC

Hi Christophe, 

Greetings from Syncfusion support. 

By default, PUT request will only be send when performing update action in Grid when bind WebAPI services. This is the default behavior of update action when binding data from WebAPI services using WebApiAdaptor in Grid.  

Generally PATCH request will be sent to ODataV4 server while updating a record. So we suggest you to use ODataV4Adaptor to bind OData service for PATCH request during update actions in Grid. 

Please get back to us if you need further assistance. 

Regards, 
Renjith Singh Rajendran 


Loader.
Up arrow icon