Saturday, April 1, 2017

Consuming API of certain endpoints using Vue Components within Laravel Application

I have been browsing for a while to find a viable solution. I have a Laravel application where I have certain endpoints in API route. I would like to consume the data without needing to log into application itself. I would appreciate if some body can guide me in the right direction. I have looked into Passport, however I wouldn't like to pass certain information like client_id or client_secret in ajax calls as they can easily be seen.



via alithedeveloper

Advertisement