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
close icon

DataManager change http POST to GET for getting data

HI

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 06:03 AM UTC

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.  


Regards,  
Seeni Sakthi Kumar S 


Loader.
Live Chat Icon For mobile
Up arrow icon