beautypg.com

Grandstream GXV3275 GMI Web Service Guide User Manual

Page 37

background image

GXV3240/3275 GMI Web Service v1.9 User Guide

Page 36 of 44

SystemSetting

System Settings

Tudou

Video Website

Twitter

Twitter

Youtube

Youtube

SetupGuide

Setup Guide

Message

Message

Video

Video Player

Audio

Audio Player

Parameters

• name: Application name (case insensitive)
• args: Input parameters
• callbackFunction: Call back function

Http Request

• URL: http://" + ip +"/manager?"
• action: "launchservice"
• name: name
• args: http://192.168.121.29/a.html
• 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=launchservice&name=Browser
&arg=http://192.168.121.29/a.html&format=json&jsoncallback=?

Return

1. HTTP request return:
• Launch successful

"{"res": "success"}"

• Server cannot get data. Open failed

"{"res": "error", "msg" : "open application failed"}" //dbus returns

null

• "name" is empty

"{"res" : "error", "msg": "name is empty" }"

• Run application failed

"{"res" : "error", "msg": "run application failed" }"

2. callbackFunction(data) will process the data returned from HTTP
request

This manual is related to the following products: