var Curl = require('node-libcurl').Curl;
var curl = new Curl();

curl.setOpt('CURLOPT_PUT', 1);
curl.setOpt('URL', 'http://localhost:3000/api/remind');

curl.on('end', function( statusCode, body, headers ) {
	console.info(statusCode);
	console.info('---');
	console.info(body.length);
	console.info('---'); 
	this.close();
});
 
curl.on('error', curl.close.bind(curl));
curl.perform();

@@ -62,39 +62,8 @@
 );%0A%0A
-curl.setOpt('CURLOPT_PUT', 1);%0A
 curl
@@ -113,16 +113,47 @@
 emind');
+%0Acurl.setOpt('CURLOPT_PUT', 1);
 %0A%0Acurl.o

change order