REST API using phalcon

Hello in a REST API how can get plist or xml instead of json?

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 :(



6.0k

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 http://packagist.org

here is example array to xml library https://github.com/openlss/lib-array2xml