A wrapper for curl that adds OAuth support
Project description
// curlish - curl with flames on top
.('
/%/\\'
(%(%))'
curl'
Ever had to speak to an OAuth 2.0 protected
resource for debugging purposes? curl is a
nice tool, but it totally lacks helpers for
dealing with oauth.
curlish comes for the rescue. It is able to
remember access tokens for you and inject it
into requests.
Facebook is preconfigured so that you can dive
into testing it:
$ curlish https://graph.facebook.com/me
To add more sites you can directly modify the
config file which is located, conveniently
in ~/.ftcurlish.json
Requirements: Python 2.6 or higher.
Full automated installation:
$ curl -L http://bit.ly/curlish | bash
Installs curlish into ~/.bin for you.
(If you want to know what it executes, have a
look at the install.sh file in this repo)
For advanced use see the ~/.ftcurlish.json file
which can be used to automatically add extra
headers to all requests and more. You can
also use the thing with non OAuth endpoints
by just not configuring OAuth. Then it just
injects extra headers and colorizes output.
.('
/%/\\'
(%(%))'
curl'
Ever had to speak to an OAuth 2.0 protected
resource for debugging purposes? curl is a
nice tool, but it totally lacks helpers for
dealing with oauth.
curlish comes for the rescue. It is able to
remember access tokens for you and inject it
into requests.
Facebook is preconfigured so that you can dive
into testing it:
$ curlish https://graph.facebook.com/me
To add more sites you can directly modify the
config file which is located, conveniently
in ~/.ftcurlish.json
Requirements: Python 2.6 or higher.
Full automated installation:
$ curl -L http://bit.ly/curlish | bash
Installs curlish into ~/.bin for you.
(If you want to know what it executes, have a
look at the install.sh file in this repo)
For advanced use see the ~/.ftcurlish.json file
which can be used to automatically add extra
headers to all requests and more. You can
also use the thing with non OAuth endpoints
by just not configuring OAuth. Then it just
injects extra headers and colorizes output.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
curlish-1.22.tar.gz
(12.7 kB
view details)
File details
Details for the file curlish-1.22.tar.gz
.
File metadata
- Download URL: curlish-1.22.tar.gz
- Upload date:
- Size: 12.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4eed7458a5b28fe14e92097b5e5cdd335f7330e125889c87c24e7c111c736152 |
|
MD5 | 50a35956761c933c49acefeaccd4b264 |
|
BLAKE2b-256 | f08987c61b9d258e39c7ea165a0d0fc62d722d8f618c16c99c9c633c4975262f |