|
|
|
|
|
by andrewstuart2
4130 days ago
|
|
Which endpoint (or resource locator) you hit probably shouldn't dictate the representation type you get back. That's what the `Accept:` headers should be used for. If you hit it with a browser, you'd expect to get back some html version of the same resource. If you use "Accept:application/json", then you should expect to get JSON back. Etc. |
|