Get Free Trial

How to pass additional data from Flexmonster to custom server API

Mark Spicer asked on June 30, 2020

We are constructing a custom data source API server and we need to pass additional data from Flexmonster to our API when data is being requested. The additional data includes a user id and some configuration settings from within our client web application. We need these extra pieces of information in our API to apply additional processing and query filtering when fetching the requested data (from a Postgres database).
My question is how can we incorporate additional information into the flexmonster POST requests?
Many thanks.

2 answers

Illia Yatsyshyn Illia Yatsyshyn Flexmonster June 30, 2020

Hello, Mark,
Thank you for contacting us.
Our team would like to draw your attention to the customizeAPIRequest API call, allowing customizing the request before it is sent to a server.
You are welcome to refer to our documentation for the detailed information about the mentioned API call.
Please let us know if it works for your case.
Do not hesitate to contact us if additional assistance required.

Mark Spicer June 30, 2020

Hello Illia
That is exactly what I was looking for, perfect!
I guess I should have found that myself in the docs, my apologies for wasting your time, but thank you very much.
Kind regards

This question is now closed