Hello in a REST API how can get plist or xml instead of json?
Hi! Check example https://docs.phalcon.io/en/latest/reference/tutorial-rest.html ;)
I checked the example and it works! but i'm trying to get an output with plist and xml i couldn't get this output yet :(
you just have convert array that returned from model to xml instead of json.
there are plenty array to xml library out there you can search on https://packagist.org
here is example array to xml library https://github.com/openlss/lib-array2xml