mercredi 1 mai 2019

how to remove data object from reponse coming from laravel fractol library?

I am getting data as an object in response from laravel fractal library by default for all APIs.

I don't want data instead I want some custom name instead of data but I am not able to do that.

How to customize the code from the fractal library to get the item instead of data.



from Newest questions tagged laravel-5 - Stack Overflow http://bit.ly/2UOAIW4
via IFTTT

Aucun commentaire:

Enregistrer un commentaire