Skip to content

Commit

Permalink
Changing client config
Browse files Browse the repository at this point in the history
  • Loading branch information
xFontroSF authored and xFontroSF committed Sep 26, 2012
1 parent eac475b commit d17e9e1
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions client.js
@@ -1,15 +1,14 @@
var http = require("http"); var http = require("http");


var req_options = { var req_options = {
//host: '192.168.7.13', host: '192.168.7.13',
//port: '8080', //host: '127.0.0.1',
host: '127.0.0.1',
port: '8080', port: '8080',
method: 'POST', method: 'POST',
//path: '/sumar?op1=2&op2=4', //Exemple per a GET. //path: '/sumar?op1=2&op2=4', //Exemple per a GET.
path: '/sumar',//path: 'http://aritmeticops-nodetestingsf.rhcloud.com/sumar', //Exemple per a POST. path: 'http://aritmeticops-nodetestingsf.rhcloud.com/sumar', //Exemple per a POST.
headers: { headers: {
//Host: "aritmeticops-nodetestingsf.rhcloud.com" Host: "aritmeticops-nodetestingsf.rhcloud.com"
} }
}; };


Expand Down

0 comments on commit d17e9e1

Please sign in to comment.