post method
Perform an HTTP POST request to url with an optional JSON body.
Implementation
Future<HttpResponse> post(
String url, {
Map<String, String>? headers,
Object? body,
}) async {
return _requestWithRetry('POST', url, headers: headers, body: body);
}