Skip to content

Latest commit

 

History

History

request

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

request module


Access

gracenode.request

Configurations N/A

#####API: send

void send(Object params, Object options, Function callback)

Sends an HTTP or HTTPS request and recieve the response

// arguments // params { protocol: 'http' or 'https', host: 'host name', path: 'URI', port: int, method: string, data: object } // options { headers: object, timeout: int (in miliseconds) } // usage example request.send(params, options, function (error, response) { // do something there });