mirror of
https://github.com/guzzle/guzzle.git
synced 2025-01-17 21:38:16 +01:00
Fixing rst code formatting
This commit is contained in:
parent
404bc8de6a
commit
ef3da3fe1e
17
README.rst
17
README.rst
@ -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
|
||||
-------------
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user