source: branches/PublicaMundi_David-devel/docs/_build/html/api/zoo-request.html @ 659

Last change on this file since 659 was 659, checked in by nbozon, 9 years ago

Massive update of zoo docs

File size: 11.0 KB
Line 
1
2
3<!DOCTYPE html>
4<!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]-->
5<!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]-->
6<head>
7  <meta charset="utf-8">
8  <meta name="viewport" content="width=device-width, initial-scale=1.0">
9 
10  <title>ZOO.Request &mdash; ZOO-Project 1.4a0 documentation</title>
11 
12  <link href="http://fonts.googleapis.com/css?family=Days+One" rel="stylesheet" type="text/css">
13 
14 
15
16 
17
18 
19 
20   
21      <link rel="search" type="application/opensearchdescription+xml" title="Search within ZOO-Project 1.4a0 documentation" href="../_static/opensearch.xml"/>
22   
23
24 
25
26 
27 
28    <link rel="stylesheet" href="../_static/css/theme.css" type="text/css" />
29 
30
31 
32
33 
34    <link rel="top" title="ZOO-Project 1.4a0 documentation" href="../index.html"/>
35        <link rel="up" title="ZOO-API Classes" href="classes.html"/>
36        <link rel="next" title="Examples" href="examples.html"/>
37        <link rel="prev" title="ZOO.Process" href="zoo-process.html"/> 
38
39 
40  <script src="_static/js/modernizr.min.js"></script>
41
42</head>
43
44<body class="wy-body-for-nav" role="document">
45
46  <div class="wy-grid-for-nav">
47
48   
49    <nav data-toggle="wy-nav-shift" class="wy-nav-side">
50      <div class="wy-side-nav-search">
51       
52
53       
54          <a class="shrink" href="http://zoo-project.org"><img src="http://zoo-project.org/img/zoo-sun-logo.png" class="img-responsive sun" style="display: inline;"> ZOO</a>
55       
56
57       
58        </a>
59
60       
61<div role="search">
62  <form id="rtd-search-form" class="wy-form" action="../search.html" method="get">
63    <input type="text" name="q" placeholder="Search docs" />
64    <input type="hidden" name="check_keywords" value="yes" />
65    <input type="hidden" name="area" value="default" />
66  </form>
67</div>
68
69       
70      </div>
71
72      <div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
73       
74         
75         
76              <ul class="current">
77<li class="toctree-l1"><a class="reference internal" href="../intro.html">Introduction</a><ul>
78<li class="toctree-l2"><a class="reference internal" href="../intro.html#what-is-zoo-project">What is ZOO-Project ?</a></li>
79<li class="toctree-l2"><a class="reference internal" href="../intro.html#zoo-project-components">ZOO-Project components</a></li>
80<li class="toctree-l2"><a class="reference internal" href="../intro.html#open-source">Open Source</a></li>
81</ul>
82</li>
83<li class="toctree-l1"><a class="reference internal" href="../install/index.html">ZOO-Project installation</a><ul>
84<li class="toctree-l2"><a class="reference internal" href="../install/install-prerequisites.html">Prerequisites</a></li>
85<li class="toctree-l2"><a class="reference internal" href="../install/install-download.html">Download</a></li>
86<li class="toctree-l2"><a class="reference internal" href="../install/install-confoptions.html">Configure options</a></li>
87<li class="toctree-l2"><a class="reference internal" href="../install/install-installation.html">Installation on Unix/Linux</a></li>
88<li class="toctree-l2"><a class="reference internal" href="../install/install-onwindows.html">Installation on Windows ™</a></li>
89<li class="toctree-l2"><a class="reference internal" href="../install/install-onmacos.html">Installation on MacOSX ™</a></li>
90</ul>
91</li>
92<li class="toctree-l1"><a class="reference internal" href="../kernel/index.html">ZOO-Kernel</a><ul>
93<li class="toctree-l2"><a class="reference internal" href="../kernel/what.html">What is ZOO-Kernel ?</a></li>
94<li class="toctree-l2"><a class="reference internal" href="../kernel/configuration.html">ZOO-Kernel configuration</a></li>
95<li class="toctree-l2"><a class="reference internal" href="../kernel/mapserver.html">Optional MapServer support</a></li>
96<li class="toctree-l2"><a class="reference internal" href="../kernel/orfeotoolbox.html">Optional Orfeo Toolbox support</a></li>
97<li class="toctree-l2"><a class="reference internal" href="../kernel/sagagis.html">Optional SAGA GIS support</a></li>
98</ul>
99</li>
100<li class="toctree-l1"><a class="reference internal" href="../services/index.html">ZOO-Services</a><ul>
101<li class="toctree-l2"><a class="reference internal" href="../services/what.html">What are ZOO-Services ?</a></li>
102<li class="toctree-l2"><a class="reference internal" href="../services/zcfg-reference.html">ZOO-Service configuration file</a></li>
103<li class="toctree-l2"><a class="reference internal" href="../services/process-profiles.html">Process profiles registry</a></li>
104<li class="toctree-l2"><a class="reference internal" href="../services/howtos.html">Create your own ZOO-Services</a></li>
105<li class="toctree-l2"><a class="reference internal" href="../services/status.html">ZOO Status Service</a></li>
106<li class="toctree-l2"><a class="reference internal" href="../services/debug.html">Debugging ZOO Services</a></li>
107<li class="toctree-l2"><a class="reference internal" href="../services/zoo-services.html">Available ZOO-Services</a></li>
108</ul>
109</li>
110<li class="toctree-l1 current"><a class="reference internal" href="index.html">ZOO-API</a><ul class="current">
111<li class="toctree-l2"><a class="reference internal" href="what.html">What is ZOO-API ?</a></li>
112<li class="toctree-l2"><a class="reference internal" href="howto.html">Using ZOO-API</a></li>
113<li class="toctree-l2 current"><a class="reference internal" href="classes.html">ZOO-API Classes</a></li>
114<li class="toctree-l2"><a class="reference internal" href="examples.html">Examples</a></li>
115</ul>
116</li>
117<li class="toctree-l1"><a class="reference internal" href="../client/index.html">ZOO-Client</a><ul>
118<li class="toctree-l2"><a class="reference internal" href="../client/what.html">What is ZOO-Client ?</a></li>
119<li class="toctree-l2"><a class="reference internal" href="../client/howto.html">Using ZOO-Client</a></li>
120<li class="toctree-l2"><a class="reference internal" href="../client/example.html">Example application</a></li>
121</ul>
122</li>
123<li class="toctree-l1"><a class="reference internal" href="../contribute/index.html">Contributor Guide</a><ul>
124<li class="toctree-l2"><a class="reference internal" href="../contribute/howto.html">How to contribute ?</a></li>
125<li class="toctree-l2"><a class="reference internal" href="../contribute/code.html">Contribute code</a></li>
126</ul>
127</li>
128</ul>
129
130         
131       
132      </div>
133      &nbsp;
134    </nav>
135
136    <section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">
137
138     
139      <nav class="wy-nav-top" role="navigation" aria-label="top navigation">
140        <i data-toggle="wy-nav-top" class="fa fa-bars"></i>
141        <a href="../contents.html">ZOO-Project</a>
142      </nav>
143
144
145     
146      <div class="wy-nav-content">
147        <div class="rst-content">
148          <div role="navigation" aria-label="breadcrumbs navigation">
149  <ul class="wy-breadcrumbs">
150
151    <li><a href="../contents.html"> Docs</a> &#8725; &#160;</li>
152     
153          <li><a href="index.html">ZOO-API</a> &#8725; &#160;</li>
154     
155          <li><a href="classes.html">ZOO-API Classes</a> &#8725; &#160;</li>
156     
157    <li>ZOO.Request</li>
158      <li class="wy-breadcrumbs-aside">
159       
160          <a href="../_sources/api/zoo-request.txt" rel="nofollow"> View page source</a>
161       
162      </li>
163  </ul>
164  <hr/>
165</div>
166          <div role="main" class="document">
167           
168  <div class="section" id="zoo-request">
169<span id="api-zoo-request"></span><h1>ZOO.Request<a class="headerlink" href="#zoo-request" title="Permalink to this headline"></a></h1>
170<p>Contains convenience methods for working with ZOORequest which replace XMLHttpRequest.</p>
171<div class="section" id="functions">
172<h2>Functions<a class="headerlink" href="#functions" title="Permalink to this headline"></a></h2>
173<table border="1" class="docutils">
174<colgroup>
175<col width="38%" />
176<col width="63%" />
177</colgroup>
178<thead valign="bottom">
179<tr class="row-odd"><th class="head">NAME</th>
180<th class="head">DESCRIPTION</th>
181</tr>
182</thead>
183<tbody valign="top">
184<tr class="row-even"><td><a class="reference internal" href="#get"><span>GET</span></a></td>
185<td>Send an HTTP GET request.</td>
186</tr>
187<tr class="row-odd"><td><a class="reference internal" href="#post"><span>POST</span></a></td>
188<td>Send an HTTP POST request.</td>
189</tr>
190</tbody>
191</table>
192<dl class="docutils" id="get">
193<dt>GET</dt>
194<dd><p class="first">Send an HTTP GET request.</p>
195<p><em>Parameters</em></p>
196<div class="line-block">
197<div class="line"><code class="docutils literal"><span class="pre">url</span> <span class="pre">{String}</span></code> The URL to request.</div>
198<div class="line"><code class="docutils literal"><span class="pre">params</span> <span class="pre">{Object}</span></code> Params to add to the url</div>
199</div>
200<p><em>Returns</em></p>
201<p class="last"><code class="docutils literal"><span class="pre">{String}</span></code> Request result.</p>
202</dd>
203</dl>
204<dl class="docutils" id="post">
205<dt>POST</dt>
206<dd><p class="first">Send an HTTP POST request.</p>
207<p><em>Parameters</em></p>
208<div class="line-block">
209<div class="line"><code class="docutils literal"><span class="pre">url</span> <span class="pre">{String}</span></code> The URL to request.</div>
210<div class="line"><code class="docutils literal"><span class="pre">body</span> <span class="pre">{String}</span></code> The request&#8217;s body to send.</div>
211<div class="line"><code class="docutils literal"><span class="pre">headers</span> <span class="pre">{Object}</span></code> A key-value object of headers to push to the request&#8217;s head</div>
212</div>
213<p><em>Returns</em></p>
214<p class="last"><code class="docutils literal"><span class="pre">{String}</span></code> Request result.</p>
215</dd>
216</dl>
217</div>
218</div>
219
220
221          </div>
222          <footer>
223 
224    <div class="rst-footer-buttons" role="navigation" aria-label="footer navigation">
225     
226        <a href="examples.html" class="btn btn-neutral float-right" title="Examples">Next <span class="fa fa-arrow-circle-right"></span></a>
227     
228     
229        <a href="zoo-process.html" class="btn btn-neutral" title="ZOO.Process"><span class="fa fa-arrow-circle-left"></span> Previous</a>
230     
231    </div>
232 
233
234  <hr/>
235  <div class="pfoot">
236  <div role="contentinfo">
237    <p>
238        &copy; Copyright 2009-2015, ZOO-Project team.
239    </p>
240  </div>
241  Built with <a href="http://sphinx-doc.org/">Sphinx</a> using a <a href="https://github.com/snide/sphinx_rtd_theme">theme</a> inspired by <a href="https://readthedocs.org">Read the Docs</a>.
242</div>
243</footer>
244
245        </div>
246      </div>
247
248    </section>
249
250  </div>
251 
252
253
254 
255
256    <script type="text/javascript">
257        var DOCUMENTATION_OPTIONS = {
258            URL_ROOT:'../',
259            VERSION:'1.4a0',
260            COLLAPSE_INDEX:false,
261            FILE_SUFFIX:'.html',
262            HAS_SOURCE:  true
263        };
264    </script>
265      <script type="text/javascript" src="../_static/jquery.js"></script>
266      <script type="text/javascript" src="../_static/underscore.js"></script>
267      <script type="text/javascript" src="../_static/doctools.js"></script>
268
269 
270
271 
272 
273    <script type="text/javascript" src="../_static/js/theme.js"></script>
274 
275
276 
277 
278  <script type="text/javascript">
279      jQuery(function () {
280          SphinxRtdTheme.StickyNav.enable();
281      });
282  </script>
283   
284
285</body>
286</html>
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