Hey.
I am using json to send the data from the client to server, I did use this function:
Future<http.Response> sendBase64(String base, String user) {
return http.post(
'https://api.backendless.com/..../ServiceName/function',
headers: <String, String>{
'Content-Type': 'application/json; charset=UTF-8',
},
body: jsonEncode(<String , String>{
'img_b64': base,
'user': user
}),
);
}
And then I am calling it but nothing happens!