Skip to content

Commit 97bc475

Browse files
committed
Readme file update
1 parent ae467eb commit 97bc475

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Diff for: README.md

+3
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,17 @@ Reason for this is to have both things in one place (this works for me).
1616
How to use:
1717

1818
1) Get access token with api.domain.com/access?client_id=id&client_secret=secret
19+
1920
2) With access token just access you api method api.domain.com/method?token=token from 1)
21+
2022
3) Also you different formats:
2123

2224
- xml ->
2325
api.domain.com/method?token=token&format=xml or
2426
api.domain.com/method.xml?token=token
2527

2628
- json is supported by default
29+
2730
4) Update app/config/config.php with your own stuff
2831

2932
TODO: Add oauth2 scope and static html page for allow/deny like Google oauth2 or Facebook oauth.

0 commit comments

Comments
 (0)