GSA / data.gov

Main repository for the data.gov service
https://data.gov
Other
546 stars 87 forks source link

Update MDTranslator rails app success status code #4714

Open rshewitt opened 2 months ago

rshewitt commented 2 months ago

User Story

In order to let mdtranslator users know whether their input was processed successfully, datagov wants to update the http status code of the response to 200 if processing was a success or 422 ( Unprocessable Entity ) if processing failed

Acceptance Criteria

[ACs should be clearly demoable/verifiable whenever possible. Try specifying them using BDD.]

Background

Security Considerations (required)

[Any security concerns that might be implicated in the change. "None" is OK, just be explicit here!]

Sketch