'var' is causing it but your http variable is ok. Try the following:
var http
> undefined
http = require('http')
{ /* http API */ }On Sunday, August 12, 2012 8:19:07 AM UTC+2, Thota Madhu Sudhan Rao wrote: > > > <https://lh6.googleusercontent.com/-dYjtQ4ySiBs/UCdKy7M_X-I/AAAAAAAAB-8/hl_cTDn5ASE/s1600/httprequire.JPG> > > How should I proceed? > >
