this may get the job done

This commit is contained in:
BalazsManus
2025-03-01 20:25:21 +01:00
parent bcaea82a77
commit 1767875253

View File

@@ -259,7 +259,8 @@ class FilcAPI {
http.Response res = await http.post(
Uri.parse(themeShare),
body: theme.json,
headers: {'Content-Type': 'application/x-www-form-urlencoded'},
// why tf would you urlencode a json, u want to parse it 2 times or what?
headers: {'Content-Type': 'application/json'},
);
// if (res.statusCode != 201) {
@@ -322,7 +323,7 @@ class FilcAPI {
http.Response res = await http.post(
Uri.parse(gradeColorsShare),
body: gradeColors.json,
headers: {'Content-Type': 'application/x-www-form-urlencoded'},
headers: {'Content-Type': 'application/json'},
);
// if (res.statusCode != 201) {