Caleb L.
Dec 22, 2024

--

This is a great approach! I've done this before with the same basic idea, but a different implementation. Instead of registering each route, I've used a single route that takes the entire path in as a parameter and looks up the route in the database. From there you can call it using httpx or requests and just pass the response back. This also lets me manage my gateway authentication and the API services auth independently.

--

--

Caleb L.
Caleb L.

Written by Caleb L.

Director of Product Strategy at LoanBoss. Formerly worked in interest rate strategy for commercial real estate borrowers.

Responses (1)