Skip to content

Commit d6292f2

Browse files
author
Luca Degasperi
committed
Merge pull request #29 from Galaxonic/patch-1
Update README.md
2 parents 92691a0 + ac403cd commit d6292f2

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -252,6 +252,12 @@ Route::get('secure-route', array('before' => 'oauth:scope1,scope2|oauth-owner:cl
252252
}));
253253
```
254254

255+
## Accessing the API
256+
257+
To access any api route, after issuing a token you must pass it as a parameter to the api call:
258+
259+
```http://www.example.com/secure-route?access_token= 'valid_token'```
260+
255261
## Getting the token owner ID and type
256262

257263
When accessing your API with an access token, you might want to know who's the owner of that token. The server makes it trivial.

0 commit comments

Comments
 (0)