Module: IO

Misc IO functions

Source:

Methods

(static) sendJSON(url, jsonObjectopt, callbacknon-null, optionsnullable)

sends a JSON 'POST' request, returns JSON repsonse

Parameters:
Name Type Attributes Description
url string

url to POST to.

jsonObject Object <optional>

JavaScript object on which to call JSON.stringify.

callback function

Function to call on success or failure. If successful error will be null, object will be json result from request.

options module:IO~SendJson~Options <nullable>
Source: