Handy REST API client on your terminal
Project description
RESTEasyCLI
Handy REST API client on your terminal
Installation
pip install resteasycli
# OR
pipenv install resteasycli
Usage
Help menu
recli help
Initialize workspace
mkdir myworkspace
cd myworkspace
recli init
# Few template files should be generated namely: auth.yml headers.yml saved.yml sites.yml
Do CRUD requests
recli get testing/todos
recli post testing/todos --kwargs title=abcd userId=10
recli put testing/todos/1 --kwargs title=abcd
recli patch testing/todo1 --kwargs title=xyz
recli delete testing/todos/1
Special formatting of data
List
recli list testing/todos
Show
recli show testing/todos
Re-do a saved request
recli redo remind_shopping
recli redo-list remind_shopping -m GET -k
Most importantly fake a retuest
recli redo-show remind_shopping -m GET -k --fake
External packages used
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
RESTEasyCLI-0.2.0.tar.gz
(9.9 kB
view hashes)
Built Distribution
Close
Hashes for RESTEasyCLI-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 602d5db22f955daa22723fb4e6cf278a8526fca67b33079e444e020407242b03 |
|
MD5 | ceaa4dcd79ff14bb09a6a59001c2978e |
|
BLAKE2b-256 | f85c5c126a32745cafcba67f3aa3732910a5a76427468e78db7efd670f20c0f8 |