Commit 67db96f9 authored by mikeytown2's avatar mikeytown2

Issue #1851314 by mikeytown2: Add simple example to readme.txt.

parent d4e356b6
......@@ -103,6 +103,19 @@ CODE EXAMPLES
**Simple HTTP**
Request http://drupal.org/.
<?php
// Queue up the request.
httprl_request('http://drupal.org/');
// Execute request.
$request = httprl_send_request();
// Echo out the results.
echo httprl_pr($request);
?>
Request this servers own front page & the node page.
<?php
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment