Skip to content

Latest commit

 

History

History
19 lines (8 loc) · 355 Bytes

File metadata and controls

19 lines (8 loc) · 355 Bytes

demo_parsing_http_requests_in_node

Demo shows:

  1. Using the URL library
  2. Setting route callbacks via method and path
  3. Extracting POST data from a request

Getting started

Run $ node app.js. If you wish you may set a different port with a subsequent command-line argument (e.g. $ node app.js 4000).