Skip to main content
Open

Access Base Url from Web Connection

Related products:FME FormFME FlowTransformers
  • July 30, 2025
  • 1 reply
  • 35 views

philipv
Contributor
Forum|alt.badge.img+2

In my experience, web service credentials and the base url for a web service go hand in hand.  For example, if I have credentials for a sandbox instance of a service, that would go along with a sandbox base url (ex. https://sandbox.servicename/api/v2 or https://servicename/sandbox/api/v2 )

But I have found that the pre-built web services do not prompt for a base url.

I realize that I can add a prompt by creating my own Web Service, but how would I access my Base Url parameter within the Request URL in the HTTPCaller?

My idea is:

  • Prompt for endpoint base url by default in all Web Services (to be entered while creating a new Web Connection).
  • In the HttpCaller transform, rename the “Use Authentication” checkbox to “Use Authentication / Web Connection”
  • In HttpCaller, move Request Url below the checkbox
  • If there is a non-empty endpoint base url defined in the selected Web Connection, Add a “« base url” marker into the Request Url textbox 
  • The user can then complete the endpoint (i.e. /employees )

The benefit of this feature is that I can have multiple workspaces all using the same Web Connection, and if either the URL or the credentials change, I can modify this once in FME Flow without having to alter any workspaces in FME Form.

1 reply

jennaatsafe
Safer
Forum|alt.badge.img+4
  • Safer
  • August 15, 2025
NewOpen