Attempt fix
This commit is contained in:
parent
b7bd137e16
commit
754ff56119
1 changed files with 2 additions and 1 deletions
|
@ -115,7 +115,8 @@ class ApiHelper {
|
||||||
Request(
|
Request(
|
||||||
"POST",
|
"POST",
|
||||||
Uri.base,
|
Uri.base,
|
||||||
body: json.encode({"code": code, "client_id": "proxy"}),
|
body: utf8.encode('code=$code&client_id=proxy'),
|
||||||
|
headers: {'Content-Type': 'application/x-www-form-urlencoded'},
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue