post method
Implementation
Future<http.Response> post({
required Uri url,
required Uint8List body,
required headers,
}) async {
http.Response response = await _client.post(
url,
body: body,
headers: headers,
);
if (response.statusCode != 200) {
throw Exception(
"error fetching STATUS: ${response.statusCode}, Link: $url");
}
return response;
}