Dynamic API - Basic Auth

Hi friends.

We all known we can give URL parameters, headers and parameters by:
-Use as = Action
-Then the key’s you wan dynamic just untick private.

Then when you use the API call as a step and give it the parameters that you want to send.

MY QUESTION:
Is it possible to do the same thing but with the Username and Password at the top?

This would allow me to save the key in my db and use diff keys for the same API calls…

Please tell me its possible…

1 Like

Use custom code with node to do this.

Hey @TomIsCool :slightly_smiling_face:

HTTP Basic Auth just adds username:password@ before the domain in the url, so do this on each call:

POST https://[username]:[password]@yourapienpoint.com/abc/xyz/etc

And fill those parameters in dynamically (uncheck private)

2 Likes

Gosh damn you know everything will give that a go!

1 Like

Yea the main API settings would be “No auth or self handled” or something like that. Then uncheck private on the API call username and password parameters

1 Like

Finally got around to this and it worked the first attempt!
Thanks!

1 Like

:purple_heart: you

1 Like