Skip to content

Instantly share code, notes, and snippets.

@kitek
Created November 28, 2011 14:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kitek/1400589 to your computer and use it in GitHub Desktop.
Save kitek/1400589 to your computer and use it in GitHub Desktop.
Node.js wysyłanie HTTP POST - przykład użycia
Utils.sendPost({
'host': 'www.google.pl',
'port': 80,
'host_name': 'www.google.pl',
'path': '/typing'
},{
'klucz': 'wartosc',
'klucz2': 'wartosc2'
},function(err, response) {
if(err) return false;
console.log(response);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment