∅:D[
6.25] → [
4.320599:320863]
B:BD[
4.320599] → [
4.320599:320863]
B:BD[
4.320863] → [
7.47:93]
∅:D[
7.93] → [
4.320863:320895]
B:BD[
4.320863] → [
4.320863:320895]
B:BD[
4.320895] → [
6.26:42]
∅:D[
6.42] → [
4.320928:320945]
B:BD[
4.320928] → [
4.320928:320945]
let raw_res = client
.post("https://www.warcraftlogs.com/oauth/token")
.form(&[
("grant_type", "authorization_code"),
("code", code),
("redirect_uri", REDIRECT_URI),
])
.basic_auth(&secrets.id, Some(&secrets.secret))
.header("accept", "application/json")
.send()
.await?
.text()
.await?;
for _ in 0..MAX_TRIES {
let raw_res = client
.post("https://www.warcraftlogs.com/oauth/token")
.form(&[
("grant_type", "authorization_code"),
("code", code),
("redirect_uri", REDIRECT_URI),
])
.basic_auth(&secrets.id, Some(&secrets.secret))
.header("accept", "application/json")
.send()
.await?
.text()
.await?;