Im having trouble configuring a JSON Reader to pull data from a REST API (JSON formated).
The problem is that in order to successfully call a query to the REST API (via a URI), there first needs to be sent an authorisation request as separate formatted URI sent ahead that contains a UserID code and a 'Secret' code (ie password) within the URI.
The JSON reader has a single web address field (which works well for other applications). To solve this particular problem there would have to be two URIs sent - one to send the Authorisation request and generate a session ID (with the authorisation held in cookies or similar), followed another to submit the data query. I tried the 'Network authorisation' entering the userID and secret into the respective field without success. Have also tried the HTTPCaller and JSON transformers.
I dont know enough about FME or API calls to configure this properly, so wondering if there is some advanced use of the JSON reader / transformers that would achieve this, like a pre-fetch URI call. Id be very grateful for any advice. With thanks.