Determine api or web route inside controller?
Is it possible to know if the route came from api or web in a controller or policy controller?
Please sign in or create an account to participate in this conversation.
There's no shortage of content at Laracasts. In fact, you could watch nonstop
for days upon days, and still not see everything!