The goal is to construct any know URL with parameters to call and return values to FME but FME HTTPCaller wants to mess with it which renders it useless.
The problem is that FMECaller messes with the format and messes up the URL rather than using the raw URL and just substituting values:
I need to be able to construct various different RESTful API calls and substitute values and not spend a great amount of time trying to predict what HTTPCaller will do when creating the final URL.
For example.
http://...../api/LSCustom/v1/rtcm2rp/@Value(routeid)&@Value(measure)?@Value(t)&@Value(caller)
Should look like this:
http://...../api/LSCustom/v1/rtcm2rp/routeid=0100000000000094-I&measure=57.25?t=true&caller=mefme
FME HTTPCaller creates this instead:
So it adds to areas incorrectly ....
I have no idea what or why it adds the &?&& before the routeid should be just a '/' forward slash
I think that the encoding of ? to %3F is understandable but it also inserts a ‘&’ ahead of it and messes up the call, it just needs a '?' not an '&' sign
Much of that format is dictated by the dotnet core rest interface already in existence I can’t change it.
How do I intercept and fix the URL and clean it up or prevent the incorrect values maybe with TextEncoder or something else?