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

Post in datamanger

Thread ID:





148288 Oct 14,2019 05:26 AM UTC Oct 15,2019 11:17 AM UTC JavaScript - EJ 2 1
Tags: DataManager
Premith Unnikrishnan
Asked On October 14, 2019 05:26 AM UTC

How would I make datamanager send a request as post rather than get for read 
var dataManager = new ej.data.DataManager({
url: apiUrl,
adaptor: new ej.data.WebApiAdaptor(),
requestType: "POST"
Tried changing the requestType to POST but this didnt work.

Seeni Sakthi Kumar Seeni Raj [Syncfusion]
Replied On October 15, 2019 11:17 AM UTC

Hi Premith,  

You cannot use the WebApiAdaptor with the request type as ‘POST’ to retrieve the data from the server-end. But you can use the URLAdaptor to request the same using the POST.  

var dataManager = new ej.data.DataManager({
url: apiUrl,
adaptor: new ej.data.UrlAdaptor() 

Seeni Sakthi Kumar S 


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