If you have NodeJS installed just type node
in your command line/shell/terminal then type http.STATUS_CODES
. All status codes will be returned, just like so:
$ node
> http.STATUS_CODES
{ '100': 'Continue',
'101': 'Switching Protocols',
'102': 'Processing',
'200': 'OK',
'201': 'Created',
'202': 'Accepted',
... }
Also try http.METHODS
just for more fun.
Top comments (0)