Open WPS Platform

ZOO.Request

Contains convenience methods for working with ZOORequest which replace XMLHttpRequest.

Functions

NAME DESCRIPTION
GET Send an HTTP GET request.
POST Send an HTTP POST request.
GET

Send an HTTP GET request.

Parameters

url {String} The URL to request.
params {Object} Params to add to the url

Returns

{String} Request result.

POST

Send an HTTP POST request.

Parameters

url {String} The URL to request.
body {String} The request’s body to send.
headers {Object} A key-value object of headers to push to the request’s head

Returns

{String} Request result.