diff --git a/client/src/client.rs b/client/src/client.rs index 3a4c7615397..66a7ada3373 100644 --- a/client/src/client.rs +++ b/client/src/client.rs @@ -1091,6 +1091,7 @@ impl Client { .join(crate::config::torii::CONFIGURATION) .expect("Valid URI"), ) + .headers(&self.headers) .header(http::header::CONTENT_TYPE, APPLICATION_JSON) .build()? .send()?; @@ -1116,6 +1117,7 @@ impl Client { .join(crate::config::torii::CONFIGURATION) .expect("Valid URI"); let resp = DefaultRequestBuilder::new(HttpMethod::POST, url) + .headers(&self.headers) .header(http::header::CONTENT_TYPE, APPLICATION_JSON) .body(body) .build()?