guardian icon indicating copy to clipboard operation
guardian copied to clipboard

Example of using guardian and Unirest

Open DaFrik opened this issue 9 years ago • 0 comments

Hi,

First thanks for creating those wonderful software for the API world.

I just discover guardian, reading from the doc I believe it could help developers easily consumer API protected by Oauth. However, just by reading the doc and test examples, I don't quite get how I could call an api with the access_token. Like in the youtube.js test, should I add code to "store" the access_token in line 84, so that I can make api call in the other part of my code later?

It would be great if there is an example of using guardian with your Unirest lib :)

Thanks for all your hard work and look forward to hearing from you.

Best Regards, D

DaFrik avatar Mar 18 '16 10:03 DaFrik