File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -827,12 +827,11 @@ Using URI Templates
827
827
~~~~~~~~~~~~~~~~~~~
828
828
829
829
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 `_::
832
831
833
832
$client = new UriTemplateHttpClient();
834
833
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
836
835
$client->request('GET', 'http://example.org/{resource}{?page}', [
837
836
'vars' => [
838
837
'resource' => 'users',
You can’t perform that action at this time.
0 commit comments