News for hackers. Stuff that matters.
Re:Username ending with MIME type format is not allowed by jfrunyon on Wednesday September 15, 2021 @11:47PM (#28547734)
"For non-programmatic usage and verification," it should be served in a human-readable manner, typically including things like formatting, and maybe even syntax coloring if you're feeling nice.

Take my `Accept: text/html` and give me my HTML-ified JSON, dangit! ;)

Re:Username ending with MIME type format is not allowed by Macha on Thursday September 16, 2021 @06:27AM (#28549971)
I've actually seen APIs with "pretty=true" or "indent=4" type query parameters to emit formatted JSON for people before, though it doesn't go as far as HTML with syntax colouring.