Just wanted to post this as I just ran into it. RESTful services, as incorporated into Relax and supported by CB3, includes the ability to append the format to the URL (eg: http://api.example.com/api/users.xml). This is totally a sweet deal, however, .xml will not work (at least in my environment) because the xml extension is defined in the .htaccess file.
Two solutions that I saw were to (1) remove the xml extension from .htaccess or (2) to use a different extension (I choose to use asXml, asJson, asWddx).
Again, just want to let folks know and if anyone has a different/better solution, I’d love to hear about it.
Just wanted to post this as I just ran into it. RESTful services, as incorporated into Relax and supported by CB3, includes the ability to append the format to the URL (eg: http://api.example.com/api/users.xml). This is totally a sweet deal, however, .xml will not work (at least in my environment) because the xml extension is defined in the .htaccess file.
Two solutions that I saw were to (1) remove the xml extension from .htaccess or (2) to use a different extension (I choose to use asXml, asJson, asWddx).
Again, just want to let folks know and if anyone has a different/better solution, I’d love to hear about it.