Get Free Trial
Get Free Trial

How do use Flexmonster with restful api?

Phan Trần Hồng Phúc asked on February 19, 2019

any way to setup flexmonster call my Restful API to get data? 

I don’t want use JSON file or database connection. 

2 answers

Public
Ian Sadovy Flexmonster February 19, 2019

Hello,
 
Thank you for the question.
Sure, you can connect to your Restful API to get data.
Supported formats are JSON and CSV.
Flexmonster configuration will look like the following:

{
dataSource: {
dataSourceType: "json", // or "csv"
filename: "https://<path to your API endpoint>"
}
}

Please let us know if you have any questions.
 
Regards,
Ian

Public
Phan Trần Hồng Phúc February 19, 2019

Hi, Ian,
Thanks for your reply. This is very helpful. 

This question is now closed