Skip to content

Commit ac403cd

Browse files
committed
Update README.md
Added section on how to access the api after getting the token.
1 parent 92691a0 commit ac403cd

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)