Created
November 28, 2011 14:29
-
-
Save kitek/1400589 to your computer and use it in GitHub Desktop.
Node.js wysyłanie HTTP POST - przykład użycia
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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