diff --git a/src/reqwest.rs b/src/reqwest.rs index 29f3f51..c9ecfd5 100644 --- a/src/reqwest.rs +++ b/src/reqwest.rs @@ -106,7 +106,7 @@ pub trait ApiClient { queryable.url(api_state), ); if let Some(body) = queryable.body(api_state) { - request = request.body(body?); + request = request.body(body?).header("Content-Type", "application/json"); } Ok(request)