Get Free Trial

How to save config file directly to Mysql?

Albert Ryan Banez asked on December 16, 2020

How can I save config file directly to Mysql without file intervention?
What is the best solution for this?

2 answers

Illia Yatsyshyn Illia Yatsyshyn Flexmonster December 16, 2020

Thank you for contacting us.
Flexmonster provides two API calls to retrieve the currently applied configuration:

  • The save method can be used to save your current report to a specified location. In your case, you can save the report to the remote server by setting the destination property to server. Next, after the configuration is received on your backend, you can upload it to your MySQL database.
  • Another option is to retrieve the configuration as inline JSON using the getReport API call. Next, this configuration can be sent to your backend manually. After receiving the report on the server-side, upload it to your database.

Please let us know if it works for you.
We are looking forward to hearing your feedback.
Best regards,

Albert Ryan Banez December 16, 2020

getReport api is the one im looking for.
thank you.

This question is now closed