I’m programming a reset password system in nodejs + JWT. In some functions I dont’t really need to send nothing as answer to the frontend, just is important the HTTP Status Code.. But i’m not sure if it’s a good practice returning a null value.
>Solution :
you can use status code 204 instead
https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/204