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

DataManager change http POST to GET for getting data


I am using dataManager for CRUD in angular grid

For getting data syncfsuion is using HTTP POST method instead of HTTP GET, can i use HTTP GET method for below code using custom adapter? can you provide sample .  
 public dataManager: DataManager = new DataManager({
        url: 'Home/UrlDatasource',
        updateUrl: 'Home/Update',
        insertUrl: 'Home/Insert',
        removeUrl: 'Home/Delete',
        adaptor: new UrlAdaptor()

1 Reply

SS Seeni Sakthi Kumar Seeni Raj Syncfusion Team December 20, 2019 01:03 AM

Hi Dayakar,  

Greetings from Syncfusion.  

By default, URLAdaptor supports the POST option alone and it wont support the GET request. If you would like to use the GET request, WebApiAdaptor or ODataAdaptor. Refer to the following Help Document.  

Seeni Sakthi Kumar S 

Live Chat Icon For mobile
Up arrow icon