I'm doing research to a problem occurred in our company. We have a front-end web portal which communicates by API with a back-end in a same syntax, for example: "www.123.com/api/v1/getCustomers".
Now we have a new clients who uses another companies back-end/API but our front-end. This means the front-end has to be custom made for this client in order to call the other companies API which for example has the syntax: "www.123.com/api/v1/getClients".
I'm trying to figure out a way how to program this in .NET to make these 2 API syntaxes the same so that the front-end can always stay the same and does not have to be made custom for every new client with a different back-end/API.
Image for illustration:
I hope someone can help me with this problem, I can't think about a solution for this.
Thanks in advance.