1
0
mirror of https://github.com/guzzle/guzzle.git synced 2025-01-18 05:48:15 +01:00

Fixing rst code formatting

This commit is contained in:
Michael Dowling 2011-08-13 22:44:01 -05:00
parent 404bc8de6a
commit ef3da3fe1e

View File

@ -21,8 +21,10 @@ Features
* Supports all of the features of libcurl including authentication, redirects, SSL, proxies, etc
* Web service client framework for building future-proof interfaces to web services
Code samples::
--------------
Code samples
------------
HTTP basics::
<?php
@ -96,6 +98,17 @@ Send requests in parallel::
}
}
Web service clients::
<?php
$client = new Guzzle\Service\Client('http://www.example.com/api/v1');
// Relative URL of a nested resource
$request = $client->get('index.php');
// Relative URL that overwrites the path of the base URL
$request = $client->get('/test/123.php?a=b');
Documentation
-------------