Return xml/json based on content type Return xml/json based on content type json json

Return xml/json based on content type


You have to specify Accept Header in your request.

Accept: application/json