best practice for connecting to an external database with multiple tables
best practice for connecting to an external database with multiple tables
At a glance
The post is seeking suggestions on the best practice for connecting an external database with multiple tables. The community members discuss the use of a token auth variable, whether it should be hardcoded or bound as a variable, and the benefits of using a separate variable for the token. They also discuss the ability to reuse the token variable across different pages and endpoints, and how this can be simplified with global data variables. While there is no explicitly marked answer, the community members provide guidance on the recommended approach and the potential future improvements to the global data variable feature.
If I need to connect an external db and lots of tables, should I be adding each one like this? I've created my token auth as a property and bind that into my header value.
@TrySound, I just tried copy/paste a collection from one page into a new one. The collection accesses the data through an API endpoint. It appears that I'd need to recreate the connection on the new page for it to work. Will the global data variables allow me to do this action?