Skip to content

Commit 747a5af

Browse files
authored
docs: update readme
1 parent 81115fc commit 747a5af

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,13 +82,11 @@ $latestRisk = Risk::latestByClassAndUser($classId, $userId); // Risk::class
8282

8383
### Generic usage
8484

85-
8685
```php
87-
### Get data
8886
$user = OneRoster::httpGet('users/test2u'); // return an array
8987

90-
$dataToSend = ['...'];
91-
$response = OneRoster::httpPost('users', $dataToSend
88+
$jsonInArray = ['...'];
89+
$response = OneRoster::httpPost('users', $jsonInArray);
9290
```
9391

9492
### Helpers

0 commit comments

Comments
 (0)