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

Does Syncfusion Dashboard web data source support POST http methods?

I work with REST API which is operated with POST request methods.
Does Syncfusion Dashboard web data source support POST http methods?
If yes, so how set it up?

3 Replies

US Umapathy Shanmugam Syncfusion Team July 24, 2017 12:24 PM UTC

Hi Ilya,

Thank you for contacting Syncfusion support.

HTTP Post requests additional data from client to server in the message body, where message body will be like JSON, XML, TEXT etc. This may result in the creation of a new resource or the updates of existing resources or both. In contrast, HTTP Get requests include all required data in the URL. So we support HTTP Get method since POST method is not valid use case.

Umapathy S.

IB Ilya Bo July 24, 2017 12:55 PM UTC

Umapathy, thank you for the answer.

I have Druid data source which REST API operates with POST methods that include JSON message body (http://druid.io/docs/latest/querying/querying.html).

As I understand, the only way is to add Middleware layer to work with the Druid api. So the way will be like this:

Druid -> Middleware layer (REST which allow to work with GET methods) -> Syncfusion dashboard (web data source).

Please correct me if I am wrong


US Umapathy Shanmugam Syncfusion Team July 25, 2017 06:36 AM UTC

Hi Ilya, 
Thanks for your response.  
Yes. This is the correct way. If your middle layer REST API operates with GET methods for Druid data source, then you will be able to connect the API with our web data source support.  
Please refer to the following link to know more about connecting to RESTful Web Services with our application. 
Umapathy S. 

Live Chat Icon For mobile
Up arrow icon