REST Service response based on accept parameter
I am looking to create a REST service compatible for XML as well as JSON
Response. With the URI being similar for both. I need to provide response
based on the accept header.
Is this possible with a single URI? IF possible, how do I set the @Produces?
No comments:
Post a Comment