How would I make a url go from:
localhost:3000/api/v1/users/1
To a url that is more universal like so:
localhost:3000/api/v1/users/(id already assumed based on the signed in user)
Is there a way I can make the url go to the certain user id without the user actually having to specify the id? Can it be assumed just based on the already signed in user? Clarity on this issue would be great!
Aucun commentaire:
Enregistrer un commentaire