Open moussadev opened 11 years ago
Thanks for pointing this out.
You are right that the format should't be on the URL, however it is easier and faster to be implemented by client code.
I think both options can co-exist and either selected via the configuration or the header option to have more gravity.
I have the feeling that the "Accept" header is more appropriate for asking for a content type.
agree, there are many ways to archive the same thing and I prefer the formatter in the url and it's faster to implement in front end too :+1:
To be a true restful module the format doesn't need to appear in the URL.
It would be better to use the "HttpAcceptStrategy" to to send the quering format.