pub async fn post_request<T: DeserializeOwned, B: Serialize>(
client: &Client,
url: &str,
body: &B,
) -> Result<T, CommonError>Expand description
Make a POST request with JSON body
pub async fn post_request<T: DeserializeOwned, B: Serialize>(
client: &Client,
url: &str,
body: &B,
) -> Result<T, CommonError>Make a POST request with JSON body