source:
branches/PublicaMundi_David-devel/docs/api/zoo-request.rst
@
716
Last change on this file since 716 was 696, checked in by djay, 9 years ago | |
---|---|
|
|
File size: 851 bytes |
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.
Note: See TracBrowser
for help on using the repository browser.