ZOO.Request¶
Contains convenience methods for working with ZOORequest which replace XMLHttpRequest.
Functions¶
NAME |
DESCRIPTION |
---|---|
Send an HTTP GET request. |
|
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 urlReturns
{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 headReturns
{String}
Request result.