Static

Description

Perform an asynchronous HTTP (Ajax) request. System uses wire on Node.js

Usage

Parameters

  • options {Object} optional

    • url {String} File Path
    • type {String} (optional) "GET" (default) or "POST"
    • data {Object} (optional) Data key/value
    • dataType {String} (optional) "text" (default), "json" or "xml"
    • success {Function} (optional) Callback if the request was successful

Discussion