use wreq::Client;
use wreq_util::Emulation;
#[tokio::main]
async fn main() -> Result<(), wreq::Error> {
let client = Client::builder()
.emulation(Emulation::random())
.cert_verification(false)
.build()?;
let text = client
.get("https://tls.peet.ws/api/all")
.send()
.await?
.text()
.await?;
println!("{}", text);
Ok(())
}