Jul 21, 2016
0
Level 28
Multi API Best practice?
Hi, I have a Laravel 5.2 web app utilising VUE.js to make a load of AJAX calls to an API to update the frontend. (Using auth:api middleware authentication).
I also have a second API that can access the same models that utilises JSON Web Tokens (jwt-auth) so that my Chrome Extension I'm writing can also access data.
Is it wrong to have multiple API's accessing the same data? Should I be looking at merging the two into a single API that both my webapp and the external extension can access?
Thanks.
Please or to participate in this conversation.