JSONRequest, v1.0.13

Allows secure cross-domain JSON requests, inspired by http://www.json.org/JSONRequest.html.

NOTE: JSONRequest depends on RubyInterpreter.

Other Versions

1.0.13, 1.0.12, 1.0.11

BrowserPlus.JSONRequest.post({params}, function{}())

Perform a JSON POST request.

Test: post()

Parameters

url: string
The URL to fetch.
send: any
The JSON object to send.
timeout: integer (Optional)
The number of milliseconds to wait for the response. This parameter is optional. The default is 10000 (10 seconds).

BrowserPlus.JSONRequest.get({params}, function{}())

Perform a JSON GET request.

Test: get()

Parameters

url: string
The URL to fetch.
timeout: integer (Optional)
The number of milliseconds to wait for the response. This parameter is optional. The default is 10000 (10 seconds).