Ajax

Ajax

AJAX nodes are used for AJAX requests.

Get JSON

AJAX request with GET method, arguments are passed by URL search parameter (a.k.a. query string), and the result is treated as JSON.

(Attribute) Base URL
The URL to access without query string.
(Input) URL Search Parameter
Query string in a key-value paired JS Object. Escaping will be taken care of. It will be appended to the Base URL.
(Output) JSON Data
JS Object parsed from the resulting JSON. There won't be any output if error occurs.
(Output) Error
A string error message. There won't be any output unless error occurs.

Post Form for JSON

AJAX request with POST method, arguments are passed by multipart form data, and the result is treated as JSON.

(Attribute) Base URL
The URL to access without query string.
(Attribute) URL Search Parameter
Query string in a key-value paired JS Object. Escaping will be taken care of. It will be appended to the Base URL.
(Input) Form Data
Form data in a key-value paired JS Object. Escaping will be taken care of. It will be converted to multipart form data by the logic system.
(Output) JSON Data
JS Object parsed from the resulting JSON. There won't be any output if error occurs.
(Output) Error
A string error message. There won't be any output unless error occurs.

Post JSON

AJAX request with POST method, arguments are passed as JSON data (a.k.a. application/json), and the result is treated as JSON.

(Attribute) Base URL
The URL to access without query string.
(Attribute) URL Search Parameter
Query string in a key-value paired JS Object. Escaping will be taken care of. It will be appended to the Base URL.
(Input) JSON Data
JSON data in a JS Object. It will be encoded to JSON string by the logic system.
(Output) JSON Data
JS Object parsed from the resulting JSON. There won't be any output if error occurs.
(Output) Error
A string error message. There won't be any output unless error occurs.
Last updated on 19th Sep 2016