added basic auth
This commit is contained in:
parent
c9da02466e
commit
9e4c27ddac
|
@ -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(¶ms_1)
|
||||
.send()?
|
||||
.text()?;
|
||||
|
|
Loading…
Reference in a new issue