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. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

DataManager change http POST to GET for getting data

Thread ID:

Created:

Updated:

Platform:

Replies:

150091 Dec 20,2019 02:03 AM UTC Dec 20,2019 06:03 AM UTC Angular - EJ 2 1
loading
Tags: Grid
Dayakar Reddy
Asked On December 20, 2019 02:03 AM UTC

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()
    });

Seeni Sakthi Kumar Seeni Raj [Syncfusion]
Replied On 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 


CONFIRMATION

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