send_json

Function send_json 

Source
pub fn send_json<R: HttpRunner<Response = HttpResponse>, D: Serialize>(
    runner: &Arc<R>,
    url: &str,
    body: Option<&Body<D>>,
    request_headers: Headers,
    operation: ApiOperation,
    method: Method,
) -> Result<Value>