How could i removed specific KEY Values from data (Items) , for in your JSON example i want to remove "City" from your result than how could it possible ?
If you’re using the same project as me. Simply remove it from the people api resource file we created. By the looks of your other comment you have a different project open so I’m not sure what the answer is.
@@QuentinWatt Hi , Thanks for fast reply and yes it's not in your tutorial but i follow your tutorial and fetch data from my database , in my DB i have username, dob & image (blob data) so i need your help to fetch those data. Your help highly Appreciated!
You can shorten the array in the resource instead. The great thing about the resource, is you can make 1 resource and return it everywhere. For places like lists and cards where you won't use all the data, you can make a summarized resource.
You can set a unique slug field in the database and use that as the route key with function getRouteKeyName() laravel.com/docs/8.x/routing#implicit-binding
can i get your social media contact?, i want to ask you something urgent, I am very troubled, and I will be very happy if you want to help me, Thank you for making this video before,