bash
$ longboard get https://async.rs
* Releases
* Contributing
sh
$ cargo install longboard --version 0.0.2-alpha.4
```sh longboard 0.0.2-alpha.4 the easy way to surf
USAGE:
longboard [OPTIONS]
FLAGS: --help Prints help information -V, --version Prints version information
OPTIONS: -b, --body
provide a request body on the command line -c, --clientARGS:
Examples to try:
$ longboard get http://httpin.org/get
$ longboard get https://httpbin.org/headers -h Some-Header="header value" User-Agent=longboard
$ longboard post https://httpbin.org/post -b "this is a request body"
$ longboard post http://httpbin.org/anything -b "a=b&c=d" -h content-type=application/x-www-form-urlencoded
$ longboard put https://httpbin.org/put -f ./Cargo.toml -h content-type=application/toml
$ longboard patch https://httpbin.org/patch < ./some-file
$ cat /dev/random | head -c1000 | base64 | longboard post https://httpbin.org/anything
This crate uses #![forbid(unsafe_code)]
to ensure everything is implemented in
100% Safe Rust.
Licensed under either of Apache License, Version 2.0 or MIT license at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this crate by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.