Is there a way I can produce both XML and JSON based on the same method.

In order for one to use _type=json|xml query param, there needs to be two
separate function mounted to a PATH.


How can I achieve alternate responses just based on one method ?


I tried doing
@ProduceMime("application/json, application/xml") , but still had no luck.

Dawa

Reply via email to