What steps will reproduce the problem?
Attached is a version of the example program (oauthreq.go) that adds -api and
-req flags so that you can use it with any specified API, not just a hard-coded
one.
What is the expected output? What do you see instead?
What version of the product are you using? On what operating system?
Please provide any additional information below.
Here's an example using the calendar API:
./example -id ${ID} -secret ${SECRET} -token=${TOKEN} \
-api=https://www.googleapis.com/auth/calendar \
-req=https://www.googleapis.com/calendar/v3/users/me/calendarList/
Original issue reported on code.google.com by ajstarks on 9 Aug 2012 at 1:59
Original issue reported on code.google.com by
ajstarks
on 9 Aug 2012 at 1:59Attachments: