dimanche 2 février 2020

How to call a rest api for multiple databases?

I have to create a RESTful API for a system which is maybe a bit unusual in the sense that each client using this system has their own database. (A client is like a company, with many users in it). So there is a master database which specifies, for each client, which database it must connect to. All clients databases are identical (except for the data of course).

I'm wondering how I should handle this... Normally, when an app consumes a Web API, you might have something like this:

Aucun commentaire:

Enregistrer un commentaire