We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa9f2fd commit 9e0427dCopy full SHA for 9e0427d
lib/com/hydrologis/smash/import_export_plugins/utils/gss_server_api.dart
@@ -215,7 +215,7 @@ class ServerApi {
215
var dataJson = jsonEncode(data);
216
var headers = {'Content-Type': 'application/json; charset=UTF-8'}
217
..addAll(tokenHeader);
218
- var response = await put(uri, body: dataJson, headers: headers);
+ var response = await post(uri, body: dataJson, headers: headers);
219
if (response.statusCode != 200) {
220
print(response.body);
221
throw new StateError(response.body);
0 commit comments