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

As a user, I want to return application/json when an HTML response is requested until a refined HTML response is developed #238

Closed
jordanpadams opened this issue Nov 30, 2022 · 1 comment
Assignees
Labels
duplicate This issue or pull request already exists requirement the current issue is a requirement

Comments

@jordanpadams
Copy link
Member

jordanpadams commented Nov 30, 2022

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

πŸ’ͺ Motivation

Right now, we return JSON embedded into HTML, but that doesn't make sense right now. We should just return application/json and let the browser pretty print it for us.

πŸ“– Additional Details

βš–οΈ Acceptance Criteria

Given
When I perform
Then I expect

βš™οΈ Engineering Details

@jordanpadams jordanpadams added requirement the current issue is a requirement needs:triage labels Nov 30, 2022
@jordanpadams jordanpadams self-assigned this Nov 30, 2022
@jordanpadams jordanpadams changed the title As a user, I want to return application/json when an HTML response is requested As a user, I want to return application/json when an HTML response is requested until a refined HTML response is developed Nov 30, 2022
@jordanpadams
Copy link
Member Author

duplicate NASA-PDS/registry-api#439

@jordanpadams jordanpadams added the duplicate This issue or pull request already exists label Nov 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists requirement the current issue is a requirement
Projects
None yet
Development

No branches or pull requests

2 participants