~ubuntu-branches/ubuntu/trusty/drizzle/trusty

« back to all changes in this revision

Viewing changes to docs/plugins/http_functions/index.rst

  • Committer: Package Import Robot
  • Author(s): Clint Byrum
  • Date: 2012-06-19 10:46:49 UTC
  • mfrom: (1.1.6)
  • mto: This revision was merged to the branch mainline in revision 29.
  • Revision ID: package-import@ubuntu.com-20120619104649-e2l0ggd4oz3um0f4
Tags: upstream-7.1.36-stable
ImportĀ upstreamĀ versionĀ 7.1.36-stable

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
.. _http_functions_plugin:
 
2
 
 
3
HTTP Functions
 
4
==============
 
5
 
 
6
The ``http_functions`` plugin provides functions to get and post HTTP
 
7
data:
 
8
 
 
9
* ``HTTP_GET``
 
10
* ``HTTP_POST``
 
11
 
 
12
.. _http_functions_loading:
 
13
 
 
14
Loading
 
15
-------
 
16
 
 
17
To load this plugin, start :program:`drizzled` with::
 
18
 
 
19
   --plugin-add=http_functions
 
20
 
 
21
.. seealso:: :ref:`drizzled_plugin_options` for more information about adding and removing plugins.
 
22
 
 
23
.. _http_functions_authors:
 
24
 
 
25
Examples
 
26
--------
 
27
 
 
28
Start :program:`drizzled` with the plugin::
 
29
 
 
30
   sbin/drizzled --plugin-add=http_functions
 
31
 
 
32
Get `www.drizzle.org <http://www.drizzle.org>`_:
 
33
 
 
34
.. code-block:: mysql
 
35
 
 
36
   drizzle> SELECT HTTP_GET('www.drizzle.org')\G
 
37
   *************************** 1. row ***************************
 
38
   HTTP_GET('www.drizzle.org'): <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN"
 
39
   "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd">
 
40
   <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" version="XHTML+RDFa 1.0" dir="ltr"
 
41
   ...
 
42
 
 
43
Authors
 
44
-------
 
45
 
 
46
Stewart Smith
 
47
 
 
48
.. _http_functions_version:
 
49
 
 
50
Version
 
51
-------
 
52
 
 
53
This documentation applies to **http_functions 1.0**.
 
54
 
 
55
To see which version of the plugin a Drizzle server is running, execute:
 
56
 
 
57
.. code-block:: mysql
 
58
 
 
59
   SELECT MODULE_VERSION FROM DATA_DICTIONARY.MODULES WHERE MODULE_NAME='http_functions'
 
60
 
 
61
Changelog
 
62
---------
 
63
 
 
64
v1.0
 
65
^^^^
 
66
* First release.