What's the expected response format from the API?
Closed this issue · 1 comments
NourdineMazali commented
Hi All,
Thank you for the kickass package!
Just wondering what's the expected response format from the API, currently my API returns
{data:{}, status: 'success'}
which is not quite transforming to Eloquent like Object.
Thank you.
camillebaronnet commented
Hi! Thanks you a lot @NourdineMazali !
I recommend you to override the findOne
method in your custom wrapper to send back only the child data
or to throw an exception when the status child is wrong.