NodeJS - Parsing Header and Posting Header Using Postman

in #teammalaysia6 years ago

nodeJS3.png

  1. Just add a header object(let headers = req.headers;) from request into the Simple Webserver code under the http.createServer function.

  2. Download Postman and register an account there.

  3. Enter as many Key and Value under the Headers tab inside the Postman app, then send it to the http of your web server.