Skip to content

Instantly share code, notes, and snippets.

@elguille86
Forked from Cshion/wat.js
Created June 22, 2016 20:01
Show Gist options
  • Save elguille86/c0d78ac73cc65b3e864801b579e74b8e to your computer and use it in GitHub Desktop.
Save elguille86/c0d78ac73cc65b3e864801b579e74b8e to your computer and use it in GitHub Desktop.
var request = require("request");
var URL = "http://11.17.25.172:8090/intico/weurces/envioSMS/sms";
request.post(URL , {
form : {
usuario : "value1" ,
password : "value2" ,
celular : "value3" ,
mensaje : "value4" ,
senderId : "value5"
}
} , function ( err , res , body ) {
if ( err ) {
console.error(err);
} else {
console.log(body);
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment