added basic auth
This commit is contained in:
parent
c9da02466e
commit
9e4c27ddac
|
@ -140,7 +140,7 @@ impl Mediawiki {
|
||||||
let resp_1: String = self
|
let resp_1: String = self
|
||||||
.client
|
.client
|
||||||
.post(&url)
|
.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(¶ms_1)
|
.form(¶ms_1)
|
||||||
.send()?
|
.send()?
|
||||||
.text()?;
|
.text()?;
|
||||||
|
|
Loading…
Reference in a new issue