Issue Type: Feature Request Feature Request
Affects Versions: 1.0.0.CR1
Assignee: Unassigned
Components: controller
Created: 28/Mar/13 6:58 AM
Description:

Using the browser to directly access (GET) endpoints is usally (at
least for me) a very convenient way to quickly check things.
With the controller, when the RESTFul endpoint is configured to
consume "JSON", a URL like this (in the browser)

http://localhost:8080/scaffoldtester/customers

returns 404

However, with curl (curl -v -H "Accept: application/json" -H
"Content-type: application/json" -X GET
http://localhost:8080/scaffoldtester/customers/)
It works since we explicitly specifiy the application/json

I wonder.... if there could be a nicer way, to allow JSON, and the
TEXT/HTML - without adding more concumes() ?

Fix Versions: 1.future
Project: AeroGear
Priority: Major Major
Reporter: Matthias Wessendorf
Security Level: Public (Everyone can see)
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira