How to pass custom request headers (X-TRANSACTION-ID, X_USER_ID) to loopback for POST API. We have part of the headers in the data source file. But how can I make it dynamic? I am using a remote method. Adding headers to the request to the context object does not seem to matter. Only if headers are added to the data source file do they seem to have an effect.
loopback strongloop
Mayur arora
source share