Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Update the readme.md indentation
  • Loading branch information
pierremarechal committed Jan 11, 2016
1 parent be63ca3 commit 17f5869
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions README.md
Expand Up @@ -9,7 +9,12 @@ Sample code to use DigitaleoOauth.php :

```php
$httpClient = new DigitaleoOauth();
$httpClient->setBaseUrl('api_base_url')
$httpClient->setOauthPasswordCredentials('https://oauth.messengeo.net/token', 'client_id', 'client_secret', 'login', 'password');
$httpClient->setBaseUrl('<api_base_url>')
$httpClient->setOauthPasswordCredentials(
'https://oauth.messengeo.net/token',
'<client_id>',
'<client_secret>',
'<login>',
'<password>');
$httpClient->callGet('my_resource_name');
```
```

0 comments on commit 17f5869

Please sign in to comment.