post method
Makes a POST request to the specified url.
The url can be either a String or a Uri object.
Implementation
Future<http.Response> post(
Object url, {
Map<String, String>? headers,
Object? body,
Encoding? encoding,
}) async {
final uri = _toUri(url);
return _makeRequest('POST', uri,
headers: headers, body: body, encoding: encoding);
}