Dear visitor, despite the COVID-19 outbreak, our team continues operating at full speed.

Also, here is the form where you can apply for a special discount and we will contact you with possible options. Stay safe and continue achieving your business goals.

Fill the form
Get Free Trial
Get Free Trial

How to pass additional data from Flexmonster to custom server API

Closed
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.
Mark

2 answers

Public
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.
 
Regards,
Illia

Public
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
Mark

This question is now closed