...
Code Block |
---|
curl https://example.evolux.net.br/api/agent/plugin_call/551132325555 |
JavaScript (jQuery)
Code Block |
---|
var call = function (destination) { var url = 'https://example.evolux.net.br/api/agent/plugin_call/' + destination; $.get(url, ajax({ url: url, xhrFields: { withCredentials: true } }).success(function (response) { if(response.status != 'success') { alert('Erro ao ligar para: \'' + destination + '\''); } }).fail(function () { alert('Erro ao ligar para: \'' + destination + '\''); }); } ; |
Info |
---|
No jQuery 1.5, a propriedade |
Exemplos de respostas
Sucesso
...