uget-0.0.5-beta.1 is not a library.
uget
A minimal cli tool to make http requests. You want, you get!
Install
cargo install uget
Usage
uget <url> <body> [OPTIONS]
Example
GET
uget https://example.com
JSON (defaults to POST method)
echo "{title: 'foo', body: 'bar', userId: 1}" | uget https://example.com
Form (defaults to POST method)
uget https://example.com --field "title=foo" --field "body=bar" --field "userId=1"
Header
uget https://example.com -m POST --header "Content-Type: application/json" "{ title: 'foo', body: 'bar', userId: 1 }"
Bearer
uget https://example.com/users/1 -m DELETE --bearer <token>
Basic
uget https://example.com -m POST --basic <username>:<password>
License
MIT
Author
Rogerio Pereira Araujo rogerio.araujo@gmail.com