Hi, I'm new to laravel And I have a problem when it comes to obtaining the data according to each Account. I do not know how to send the unique ID of my account to a Vue + axios so axios automatically shows my information according to the account
(the information load works fine but only if it is static, in this example I put the 2, etc. and it loads well)
var url = 'conf/2' // le he pasado el 2 de manera estatica
a small part of my code
getPerfil:function(){
var url = 'conf/2';
axios.get(url).then(response=>{
this.info = response.data
});
},
And right up there, everything is perfect, it loads information but not dynamically according to each Account.
Another problem that I have had, I have noticed is that I can modify any account just by changing the ID. which it's If this is a security problem because anyone could insert information in x account.