source: trunk/docs/api/zoo-request.txt @ 666

Last change on this file since 666 was 348, checked in by neteler, 13 years ago

set correctly svn propset

  • Property svn:eol-style set to native
  • Property svn:keywords set to HeadURL Date Author Id Rev
  • Property svn:mime-type set to text/plain
File size: 850 bytes
RevLine 
[348]1.. _api-zoo-request:
2
3ZOO.Request
4===========
5
6Contains convenience methods for working with ZOORequest which replace XMLHttpRequest.
7
8Functions
9---------
10
11.. list-table::
12   :widths: 30 50
13   :header-rows: 1
14
15   * - NAME
16     - DESCRIPTION
17   * - :ref:`GET <GET>`
18     - Send an HTTP GET request.
19   * - :ref:`POST <POST>`
20     - Send an HTTP POST request.
21     
22.. _GET:
23
24GET     
25  Send an HTTP GET request.
26
27  *Parameters*
28 
29  | ``url {String}`` The URL to request.
30  | ``params {Object}`` Params to add to the url
31
32  *Returns*
33
34  ``{String}`` Request result.
35 
36.. _POST:
37
38POST   
39  Send an HTTP POST request.
40
41  *Parameters*
42 
43  | ``url {String}`` The URL to request.
44  | ``body {String}`` The request's body to send.
45  | ``headers {Object}`` A key-value object of headers to push to the request's head
46
47  *Returns*
48
[178]49  ``{String}`` Request result.
Note: See TracBrowser for help on using the repository browser.

Search

Context Navigation

ZOO Sponsors

http://www.zoo-project.org/trac/chrome/site/img/geolabs-logo.pnghttp://www.zoo-project.org/trac/chrome/site/img/neogeo-logo.png http://www.zoo-project.org/trac/chrome/site/img/apptech-logo.png http://www.zoo-project.org/trac/chrome/site/img/3liz-logo.png http://www.zoo-project.org/trac/chrome/site/img/gateway-logo.png

Become a sponsor !

Knowledge partners

http://www.zoo-project.org/trac/chrome/site/img/ocu-logo.png http://www.zoo-project.org/trac/chrome/site/img/gucas-logo.png http://www.zoo-project.org/trac/chrome/site/img/polimi-logo.png http://www.zoo-project.org/trac/chrome/site/img/fem-logo.png http://www.zoo-project.org/trac/chrome/site/img/supsi-logo.png http://www.zoo-project.org/trac/chrome/site/img/cumtb-logo.png

Become a knowledge partner

Related links

http://zoo-project.org/img/ogclogo.png http://zoo-project.org/img/osgeologo.png