Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
freyo committed May 14, 2020
1 parent 8e25bb6 commit 6a0aa5e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -52,7 +52,7 @@ include 'vendor/autoload.php';
use Freyo\ApiGateway\Application;

$app = new Application([
'response_type' => 'collection',
'response_type' => 'array',
'secret_key' => 'your-secret-key',
'secret_id' => 'your-secret-id',
'region' => 'your-gateway-region', // e.g., ap-guangzhou
Expand All @@ -66,7 +66,7 @@ $app = new Application([
],
]);

$response = $app->http_client->request('path/to');
$response = $app->base_client->httpGet('path/to');

var_dump($response);
```
Expand Down

0 comments on commit 6a0aa5e

Please sign in to comment.