Should I Use API Route When Using Laravel

Published 2 months ago by rizaldywirawan

Dear Good People,

Newbie here, ...

I want to learn using Laravel + Vuejs, should I use API route when for the AJAX or I can still using the web.php route?

Please tell me the proper way.

Thank you

topvillas

Use API routes, to avoid a shed load of middleware that might cause you grief.

rizaldywirawan

@topvillas,

Oohh i see.. okay i will use it. Thank you.

Please sign in or create an account to participate in this conversation.