Grandstream GXV3275 GMI Web Service Guide Instrukcja Użytkownika Strona 8

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 45
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 7
GXV3240/3275 GMI Web Service v1.9 User Guide
Page 7 of 44
Http Request
URL: "http://"+ ip + "/manager?"
action: "vendor"
format: "json"
jsoncallback: "?" (This is the HTTP request for the call back
function, usually used in AJAX and JQuery)
For example:
http://192.168.121.230/manager?action=vendor&format=json&jsonca
llback=?
Return
1. HTTP request return:
Return successful
"{"res": "success", "vendor": "Grandstream Networks, Inc."}"
Return failed
"{"res": "error", "msg" : "can't get vendor"}"
2. callback
Function(data) will process the data returned from HTTP
request
getProduct(callbackFuntion)
Description
Retrieve GXV3240/GXV3275 product information
(login is not required)
Parameters
callbackFunction: Call back function
Http Request
URL: "http://"+ ip + "/manager?"
action: "vendor"
format: "json"
jsoncallback: "?" (This is the HTTP request for the call back
function, usually used in AJAX and JQuery)
For example:
http://192.168.121.230/manager?action=product&format=json&jsonc
allback=?
Return
1. HTTP request return:
Return successful
"{"res": "success", "product": "GXV3240"}"
"{"res": "success", "product": "GXV3275"}"
Return failed
"{"res": "error", "msg" : "can't get product model"}"
2. callbackFunction(data) will process the data returned from HTTP
request
Przeglądanie stron 7
1 2 3 4 5 6 7 8 9 10 11 12 13 ... 44 45

Komentarze do niniejszej Instrukcji

Brak uwag