On Thursday, March 28, 2013 at 7:03 AM, Matthias Wessendorf wrote:
Using the browser to directly access (GET) endpoints is usally (atleast for me) a very convenient way to quickly check things.With the controller, when the RESTFul endpoint is configured toconsume "JSON", a URL like this (in the browser)returns 404However, with curl (curl -v -H "Accept: application/json" -H"Content-type: application/json" -X GETIt works since we explicitly specifiy the application/jsonI wonder.... if there could be a nicer way, to allow JSON, and theTEXT/HTML - without adding more concumes() ?Not sure - just a thought ...--Matthias Wessendorfsessions: http://www.slideshare.net/mwessendorftwitter: http://twitter.com/mwessendorf_______________________________________________aerogear-dev mailing list