Skip to content

Commit 2cbf0a4

Browse files
committed
Tweak
1 parent be0efb0 commit 2cbf0a4

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

http_client.rst

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -827,12 +827,11 @@ Using URI Templates
827827
~~~~~~~~~~~~~~~~~~~
828828

829829
The :class:`Symfony\\Component\\HttpClient\\UriTemplateHttpClient` provides
830-
a client that eases the use of URI templates, as described in the `RFC 6570`_.
831-
Here is an example of how to use this client with URI templates::
830+
a client that eases the use of URI templates, as described in the `RFC 6570`_::
832831

833832
$client = new UriTemplateHttpClient();
834833

835-
// This request will result on querying http://example.org/users?page=1
834+
// this will make a request to the URL http://example.org/users?page=1
836835
$client->request('GET', 'http://example.org/{resource}{?page}', [
837836
'vars' => [
838837
'resource' => 'users',

0 commit comments

Comments
 (0)