We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello. Can you please help me with the error that comes out when I try to send a message?
this is my code
var request = require('request'); var options = { 'method': 'POST', 'url': 'https://api.ultramsg.com/i............/messages/chat', 'headers': { 'Content-Type': 'application/x-www-form-urlencoded' }, form: { 'token': '..........', 'to': '966385097', 'body': 'WhatsApp API on UltraMsg.com works good' } }; request(options, function (error, response) { if (error) throw new Error(error); console.log(response.body); });
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hello. Can you please help me with the error that comes out when I try to send a message?
this is my code
var request = require('request');
var options = {
'method': 'POST',
'url': 'https://api.ultramsg.com/i............/messages/chat',
'headers': {
'Content-Type': 'application/x-www-form-urlencoded'
},
form: {
'token': '..........',
'to': '966385097',
'body': 'WhatsApp API on UltraMsg.com works good'
}
};
request(options, function (error, response) {
if (error) throw new Error(error);
console.log(response.body);
});
The text was updated successfully, but these errors were encountered: