ડાઉનલોડ કરો આ ઓપન સોર્સ બોટ કાવ્ય કોમ્યુનિટી આવૃત્તિ અને સ્થાપિત બોટ કાવ્ય તમારા પોતાના સર્વર પર
SDK and Web API : JSON web API

RE: JSON web API

દ્વારા admin પોસ્ટ 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);


ને: 24750642
પોસ્ટ: Oct 25 2018, 9:35
જવાબો: 0
જોવાઈ: 2222, આજે: 1, સપ્તાહ: 8, મહિને: 15
0 0 0.0/5