DEV Community

Dodo Mukunzi
Dodo Mukunzi

Posted on β€’ Edited on

4

View All HTTP Status Codes Offline 😜

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',
  ... }
Enter fullscreen mode Exit fullscreen mode

Also try http.METHODS just for more fun.

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs