HTTP Functions

The http_functions plugin provides functions to get and post HTTP data:

  • HTTP_GET
  • HTTP_POST

Loading

To load this plugin, start drizzled with:

--plugin-add=http_functions

See also

Plugin Options for more information about adding and removing plugins.

Examples

Start drizzled with the plugin:

sbin/drizzled --plugin-add=http_functions

Get www.drizzle.org:

drizzle> SELECT HTTP_GET('www.drizzle.org')\G
*************************** 1. row ***************************
HTTP_GET('www.drizzle.org'): <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN"
"http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" version="XHTML+RDFa 1.0" dir="ltr"
...

Authors

Stewart Smith

Version

This documentation applies to http_functions 1.0.

To see which version of the plugin a Drizzle server is running, execute:

SELECT MODULE_VERSION FROM DATA_DICTIONARY.MODULES WHERE MODULE_NAME='http_functions'

Changelog

v1.0

  • First release.

Table Of Contents

Previous topic

Hex Functions

Next topic

Information Schema Dictionary

This Page