I have studied about the development of APIs with Laravel, a quick question, is it possible to return an XML instead of a json?
instead of doing:
return response()->json($json);
Do something like:
return response()->xml($xml);
I looked for XML in the documentation and did not find it ...