json encoded http submissions, login now works?
This commit is contained in:
parent
5c718fc14b
commit
3af4997c01
2 changed files with 2 additions and 2 deletions
|
@ -23,7 +23,7 @@ Future<LoginModel> requestLoginAPI(
|
|||
|
||||
final response = await http.post(
|
||||
url,
|
||||
body: body,
|
||||
body: json.encode(body),
|
||||
);
|
||||
|
||||
debugPrint(response.body);
|
||||
|
|
Reference in a new issue