Maybe you should come closer.
This is straight from the node.js API documentation:
request_headers is optional. Additional request headers can be added internally by node. Returns a ClientRequest Object.
Remember to include the Content-Length Header if you plan on sending the body. If you are planning a streaming body, you may have installed Encoding: chunked.
: . . request.end() . ( , request.write().)
request.write() .
, ( ):
var rq = client.request('POST', 'http://example.org/', {'Content-Length': '1024'});
var body = getMe1024BytesOfData();
rq.write(body);
rq.end();
, . - .