Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggest: Return Content-Type application/json by default #248

Closed
alexdunnjpl opened this issue Feb 16, 2023 · 1 comment
Closed

Suggest: Return Content-Type application/json by default #248

alexdunnjpl opened this issue Feb 16, 2023 · 1 comment
Assignees
Labels
B13.1 requirement the current issue is a requirement

Comments

@alexdunnjpl
Copy link
Contributor

Checked for duplicates

No - I haven't checked

πŸ§‘β€πŸ”¬ User Persona(s)

Developer, User

πŸ’ͺ Motivation

so that I can easily review responses in browser.

πŸ“– Additional Details

Browsers will provide folding and syntax highlighting of JSON files. The current default "JSON as text" HTML response breaks this and provides no value.

Acceptance Criteria

When I perform browser navigation to any endpoint
Then I expect a properly-typed pure-JSON response

βš™οΈ Engineering Details

No response

@tloubrieu-jpl
Copy link
Member

This has been solved with commit 13039aa

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
B13.1 requirement the current issue is a requirement
Projects
None yet
Development

No branches or pull requests

3 participants