Crates.io | slumber |
lib.rs | slumber |
version | 2.2.0 |
source | src |
created_at | 2023-08-28 20:12:26.842807 |
updated_at | 2024-10-22 00:44:31.23454 |
description | Terminal-based HTTP client |
homepage | https://slumber.lucaspickering.me |
repository | https://github.com/LucasPickering/slumber |
max_upload_size | |
id | 957326 |
size | 1,031,120 |
Slumber is a TUI (terminal user interface) HTTP client. Define, execute, and share configurable HTTP requests. Slumber is built on some basic principles:
Slumber is based around collections. A collection is a group of request recipes, which are templates for the requests you want to run. A simple collection could be:
# slumber.yml
requests:
get: !request
method: GET
url: https://httpbin.org/get
post: !request
method: POST
url: https://httpbin.org/post
body: !json { "id": 3, "name": "Slumber" }
Create this file, then run the TUI with slumber
.
For a more extensive example, see the docs.