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

BySwadi's avatar

How to work with website that handle api requests and use them in front-end?

I have Laravel with passport and I have CRUD in my API controllers for each model and all APIs work fine, now I want to use my all CRUD APIs requests in front-end of the same project

0 likes
5 replies
jove's avatar

You need something to interact with it, jquery, vue, angular, react etc.

BySwadi's avatar

I have in my API localization header "lang" and authorization token in request. So you know that the data should retrieved for specific user. Is there lesson or tutorial or any guide for me

1 like
jove's avatar

@muath he asks to use his API in front-end not to use another API in his application (back-end)

Please or to participate in this conversation.