plivo-node/examples/lookup.js
Prashanth Pai 0736c8d398 Lookup API: Change endpoint and response
...as requested by product.

Signed-off-by: Prashanth Pai <prashanth.pai@plivo.com>
2020-10-28 12:09:26 +05:30

10 lines
206 B
JavaScript

let plivo = require('plivo');
let client = new plivo.Client('', '');
client.lookup.get(
""
).then(function(response) {
console.log(response);
}).catch(function(error) {
console.log(error);
});