Response status codes
In this section we will show you returning statuses with gNext 🙌.
It's simple, just add gnext.Status
to the returned handler parameters
Example:
Ok, now restart the server and use endpoint:
And the response status we will be 404
🦾