我想使用reqwest,但我不能--我有一个错误: ^^^^ method not found in `Result<reqwest::blocking::Response, reqwest::Error>use reqwest::Error("{}", request_url);
let response =
我正在使用reqwest执行来自的GET请求。对像这样的一级json端点执行请求很容易。use std::collections::HashMap;
let body = reqwest::blocking::get("https://httpbin.org如何向reqwest中的多级JSON端点发出请求 let body = reqwest::blocking
当我运行以下代码时: use exitfailure::ExitFailure;use serde_derive::{Deserialize, Serialize;
let res = reqwest::get(url).await?.json::<CompanyInfo>().await?你怎么用reqwest解决这个问题呢?