im new in building APIs, im using Laravel and some packages like Passport. In this projecto im creating a API to a mobile app comunicate and make some tasks, like creating users and add some information related with the users.
I already getting the idea how it works with tokens, and i already have almost everything done, my only question is for example before i create a register user to receive the token i have other information being presented in the mobile app, like news, and some listing information that is not needed to login or register. In my API i already have these routes ready, but i cant acess these information because i need a token.
How do i handle this situation? When i need to access information, where i cant present it?
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire