readme-typing-svg icon indicating copy to clipboard operation
readme-typing-svg copied to clipboard

Return proper HTTP response codes for errors

Open DenverCoder1 opened this issue 4 years ago • 6 comments

Currently all responses return 200 (unless there is a server error, in which case 500).

It would be best to have specific codes for different types of errors to differentiate between them.

Example:

400 - Bad request

etc.

DenverCoder1 avatar Oct 04 '21 13:10 DenverCoder1

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days

github-actions[bot] avatar Nov 04 '21 00:11 github-actions[bot]

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days

github-actions[bot] avatar Dec 05 '21 00:12 github-actions[bot]

I'd like to work on this.

Vyvy-vi avatar Oct 14 '22 05:10 Vyvy-vi

@Vyvy-vi Go for it :+1:

DenverCoder1 avatar Oct 14 '22 05:10 DenverCoder1