added basic auth

This commit is contained in:
murmeldin 2025-02-09 02:22:04 +01:00
parent c9da02466e
commit 9e4c27ddac

View file

@ -140,7 +140,7 @@ impl Mediawiki {
let resp_1: String = self
.client
.post(&url)
// .basic_auth(&self.http_user, Some(&self.http_password)) // TODO: ZU TESTZWECKEN ENTFERNT
.basic_auth(&self.http_user, Some(&self.http_password))
.form(&params_1)
.send()?
.text()?;