request/examples/get.rs

9 lines
230 B
Rust

use request::Request;
fn main() {
let response = Request::get("http://httpforever.com/").send().unwrap();
dbg!(&response);
let response = Request::get("http://archlinux.org/").send().unwrap();
dbg!(&response);
}