mirror of
https://github.com/donl/plivo-node.git
synced 2026-05-25 22:07:10 -06:00
9 lines
No EOL
359 B
JavaScript
9 lines
No EOL
359 B
JavaScript
var Plivo = require('../dist/rest/client.js');
|
|
var client = new Plivo.Client();
|
|
|
|
client.callFeedback.create('call_uuid', 4, ["ISSUE"], "User Feedback").then(function(call_feedback) {
|
|
console.log("\n============ send feedback ===========\n", call_feedback)
|
|
})
|
|
.catch(function(response) {
|
|
console.log("\n============ Error :: ===========\n", response);
|
|
}); |