Easy HTTP Request

Build Status Build status

Easy to send HTTP/HTTPS requests.

Example

```rust extern crate easyhttprequest;

use easyhttprequest::DefaultHttpRequest;

let response = DefaultHttpRequest::getfromurl_str("https://magiclen.org").unwrap().send().unwrap();

println!("{}", response.statuscode); println!("{:?}", response.headers); println!("{}", String::fromutf8(response.body).unwrap()); ```

More examples are in the examples directory.

Crates.io

https://crates.io/crates/easy-http-request

Documentation

https://docs.rs/easy-http-request

License

MIT