An open API service indexing awesome lists of open source software.

https://github.com/rafi/req8

Manage HTTP RESTful APIs per-project in YAML files (Postman alternative for the terminal)
https://github.com/rafi/req8

alternative postman project-templates rest-client restful-api terminal yaml yaml-configuration

Last synced: 5 months ago
JSON representation

Manage HTTP RESTful APIs per-project in YAML files (Postman alternative for the terminal)

Awesome Lists containing this project

README

          

# REQ8

> Manage HTTP RESTful APIs per-project in YAML files.

## SYNOPSIS

req8 uses the terminal to allow developers to manage per-project
API requests via YAML files.

req8 supports dynamic environments and header presets with Python's natural
string templating.

Currently req8 requires python and incorporates a visual selection
picker for missing arguments.

## DEMO

![req8 demo](http://rafi.io/static/img/project/req8/demo.gif)

## USAGE

Create a `.requests.yml` file in your project directory, and run `req8`:

```sh
$ ./req8 -h
usage: req8 [-h] [-e ENVIRONMENT] [-s] [resource] [request]

positional arguments:
resource Key name of resource
request Name of request

optional arguments:
-h, --help show this help message and exit
-e ENVIRONMENT, --environment ENVIRONMENT
Specify environment's key name
-s, --show-headers Show
```

## EXAMPLE USAGE

* `req8`
* `req8 -e dev`
* `req8 city`
* `req8 -e dev city "GET collection"`

## SEE ALSO

[`.requests.yml` examples](./.requests.yml)

## AUTHOR

Rafael Bodill \

## LICENSE

GNU GPLv3 (c) 2017 Rafael Bodill