We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 94192df commit b1a7cd3Copy full SHA for b1a7cd3
README.md
@@ -18,12 +18,11 @@ php composer.phar require romanpitak/php-rest-client
18
## Basic Usage
19
20
```php
21
-// Use the client to store general settings
22
$client = new Client('https://raw.githubusercontent.com/romanpitak');
23
-// Get a Request object
+
24
$request = $client->newRequest('/PHP-REST-Client/master/README.md');
25
-// Get a Response object
26
$response = $request->getResponse();
27
-// Get the response body as a string
28
echo $response->getParsedResponse();
29
```
0 commit comments