Support Topics Documentation Slack YouTube Blog

How to send data from Flutter app to server?

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) {
      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!

Hello @Hassan_Serhan

Could you show me a screenshot of what your API service looks like?
And provide please your APP ID, which could help to investigate your problem.

Regards, Dima

Thanks it was fixed.