Aktualizacja Diamond i zbudujemy wam własną aplikację dla systemu Android lub iOS
SDK and Web API : JSON web API

RE: JSON web API

w admin wysłany Oct 25 2018, 9:35

For the JSON API any attribute (from the XML API) requires an @ prefix (except for the /chat API).

i.e.

var request = new XMLHttpRequest();
request.open('POST', 'https://www.botlibre.com/rest/json/get-all-instances', true);
request.setRequestHeader('Content-Type', 'application/json');
var json = JSON.stringify({'@application': '721375371321663745'});
request.onreadystatechange = function() {
console.log(request.responseText);
};
request.send(json);


Identyfikator: 24750642
Wysłany: Oct 25 2018, 9:35
Odpowiedzi: 0
Widok: 2250, dziś: 1, tydzień: 6, miesiąc: 5
0 0 0.0/5