Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
andraz
· 14y ago · 0 comments
exactly! All use of headers in web APIs just makes it harder to understand them by regular developers of API cleints.
Comments
[–]
Graphon
14y ago
Using a content-type header instead of .json or .xml (etc) extension in the URL is just another example of this phenomenon. There's a reason people are moving to use dot extensions in URLs - it's easier to adopt and test.