Crates.io | rest_cli |
lib.rs | rest_cli |
version | 0.1.0 |
source | src |
created_at | 2021-04-05 02:36:59.159211 |
updated_at | 2021-04-05 02:36:59.159211 |
description | Send HTTP requests from the command line |
homepage | |
repository | https://github.com/ebobrow/rest-client |
max_upload_size | |
id | 379094 |
size | 41,585 |
Send HTTP requests from the command line.
rest_cli <file>
where file
contains your HTTP requests.
Supported methods:
### GET slash route ###
http://localhost:3000
GET /
### POST to /auth/register ###
http://localhost:3000
# Headers
Content-Type: application/json
Authorization: bearer alghdlaiusdflhsadfkjsadf
# Body
{
"username": "name",
"password": "password123"
}
POST /auth/register