Skip to main content
Question

Create a safe web connection for API Auth

  • April 1, 2026
  • 1 reply
  • 31 views

danielmartins18
Participant
Forum|alt.badge.img+4

Hi,

I’m using an API (https://docs.transpoco.net/?version=latest#52611862-77b1-4fe6-8a1d-67fc4904cb54) and need to send a post request for authentication. The issue is that the post request takes the username and passwork on the body of the request as a JSON. 

Any ideas of how I can create a webconnection to run this request in a way i can safely store the credentials on the webconnection instead of on the httpCaller transformer?

 

 

1 reply

hkingsbury
Celebrity
Forum|alt.badge.img+70
  • Celebrity
  • April 2, 2026

Have you tried creating a custom Token Auth Service?
Creating a Token based Web Service in FME - Yelp – FME Support Center

 

It looks like this might be able to achieve what you’re after

 

 

The auth endpoint for the docs would be the request url, with the credentials specified in the header. you then look to be able to extract that token, and specify how it is then injected into a call using that web connection