Skip to main content

post_json

Function post_json 

Source
pub async fn post_json(
    config: &HttpConfig,
    url: &str,
    payload: &Value,
) -> Result<Value, HttpClientError>
Expand description

Posts a JSON payload through the network boundary using the configured timeout.