Spring-Boot-Blog-REST-API
Spring-Boot-Blog-REST-API copied to clipboard
Wrong status code when username or email exists (register feature)
When username or email exists, register failed return status code is 500 (internal server error), I expect return bad request
Welcome @trantuandatvietnam to Spring-Boot-Blog-REST-API community! Thanks so much for creating your first issue :)
i want to work on this
I would like to work on this @trantuandatvietnam
Hi, I'd like to work on this issue. I'll look into the registration flow and fix the status code to return 400 Bad Request instead of 500 when username/email already exists.