资 源 简 介
A Java URL fetching tool for OAuth requests which behaves similar to cURL. Oacurl currently supports OAuth v1 and OAuth WRAP
This tool was developed for investigating and debugging Google’s APIs, but it can be used to interact with any OAuth endpoint.
Quick Start
The easiest way to use oacurl is to run the classes from the precompiled jars available for download.
Download the latest oacurl jar
From the folder where you downloaded it, run the LoginTool to launch a web browser and complete the OAuth dance. Your authorization refresh token will be saved to a file for future requests.
$ java -cp oacurl-1.2.0.jar com.google.oacurl.Login --buzz
Run the FetchTool to fetch an OAuth protected resource
$ java -cp oacurl-1.2.0.jar com.google.oac