Call unauthorized SSL request in Rust

It took me around 4 hours straight to resolve this issue, so I thought it might help someone in need.

Photo by Nicolas Corta Avila on Unsplash

Reqwest is a popular library for calling HTTP requests in Rust. It integrates with tokio run time. But if you’re in the case your HTTPs request does not have SSL certificate, then you cannot call the…