I am using laravel 5.4 and laravel passport version 4.0.3. My laravel rest API json & XML is working fine for me. But I am unable to convert the passport default route 'oauth/token' response from JSON format to XML.
{
"token_type": "Bearer",
"expires_in": 31536000,
"access_token": "xxxxxxxxxxxxxxxxxx",
"refresh_token": "xxxxxxxxxxxxxxxxx"
}
Please help anyone to convert the default passport response to XML format. Thanks in advance
from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/39HxP1p
via IFTTT
Aucun commentaire:
Enregistrer un commentaire