Hi,
I am setting up a Data Source to a REST API. The connection and data is working.
However, I need to make an additional HTTP call for each row I processed to get additional data. The HTTP call will be made to the same REST API the data source is configured for, but to a different endpoint. Will the getDocument function allow me to do this?
I read this documentation:
https://docs.eazybi.com/eazybi/data-import/data-adjustments-using-javascript#DataadjustmentsusingJavaScript-FunctiongetDocument
But I don’t know how to specify the headers.
Do I have to provide the full URL and if so how do I pass headers to this function?
Thanks,
Hugo