Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

lonetraceur's avatar

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.

0 likes
0 replies

Please or to participate in this conversation.