article

making http requests in nodejs

[WHAT]

  1. ] making an http request is at the heart of any web app,
  2. ] this article explores a number of different methods to make various http requests using the native node http module
  3. *] ALT = you can use a package like 'request' to facilitate the request making process
  4. *]  the native node http request object STREAMS the data back to your request, so you have to handle the stream

[WHY]

  1. ] get data from website (html)
  2. ] get json from third party api
  3. ] put data
  4. ] put json

[WHERE]

  1. ]

[WHEN]

  1. ]

[EXAMPLE]

  1. ]

[HOW-TO]

  1. ] you need to declare the dependancy in your app

[REFERENCE]

  1. ] # 5228 - CREATE-article# - 4565(this) making http requests in node
  2. ] # 4566 - making-http-requests-in-node-using-the-request-package
  3. ?] TITLE = calling a third party api in nodejs using the 'request' package

 

 

 

Details Photos Edit more

Details

ID: 4565

NAME: making-http-requests-in-node

DESCRIPTION: by Don Sagrott, founder @sospep.com - ]

AUTHOR: article.author/s

EDITOR: article.editor/s

PUBLISHER: article.publisher/s

STATUS: Write

PRIORITY: 0

OWNER ID: 75

Content Photos Edit more

photos

page_photo

actions

Email Email-Owner SMS and