Skip to content

Commit 09b681b

Browse files
updated readme formatting
1 parent a477ddf commit 09b681b

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

readme.md

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -160,11 +160,15 @@ Route::group(['middleware' => ['web', 'auth']], function(){
160160

161161
Once authenticated you can call MsGraph:: with the following verbs:
162162

163-
MsGraph::get()
164-
MsGraph::post()
165-
MsGraph::put()
166-
MsGraph::patch()
167-
MsGraph::delete()
163+
```
164+
MsGraph::get($endpoint, $array = [])
165+
MsGraph::post($endpoint, $array = [])
166+
MsGraph::put($endpoint, $array = [])
167+
MsGraph::patch($endpoint, $array = [])
168+
MsGraph::delete($endpoint, $array = [])
169+
```
170+
171+
The second param of array is not always required, it's requirement is determined from the endpoint being called, see the API documentation for more details.
168172

169173
These expect the API endpoints to be passed, the url https://graph.microsoft.com/beta/ is provided, only endpoints after this should be used ie:
170174

0 commit comments

Comments
 (0)