Hi,
I am exploring "reqwest" library, I did some test with get method.
If I use "Blocking::get", it is working ok but if I try to use simple "Get", I don't get any compiling error but when I execute my code I get this error:
"thread 'main' panicked at 'not currently running on the Tokio runtime.', src/libcore/option.rs:1188:5".
Any clue?
async fn http_request_3(_site: String) -> Result<()>{
let mut _result = reqwest::get(&_site).await?;
let mut _status = String::new();
_result.text();
Ok(())
}