Hi,
I'm trying to call an API endpoint using PythonCaller but this endpoint requires authentication.
I made it work by first (in the init) connect to the web connection and get the token than send it to the def input and used the token in the header of my endpoint call.
My question is: is there a way to get this token from one of my web connection set in the Tools->FME Options->Web Connections (or either from a published parameter configured with one of them)?
The idea is to use the PythonCaller as a HTTPCaller which uses Authentication
thank you