post method
Future<Http4Response>
post(
- String url, {
- Map<
String, dynamic> body = const {}, - Map<
String, String> headers = const {}, - Map<
String, dynamic> params = const {}, - List<
InterceptorContract> interceptors = const [], - RetryPolicy? retryPolicy,
override
Implementation
@override
Future<Http4Response> post(
final String url, {
Map<String, dynamic> body = const {},
Map<String, String> headers = const {},
Map<String, dynamic> params = const {},
List<InterceptorContract> interceptors = const [],
RetryPolicy? retryPolicy,
}) async =>
await Http4PostImplementation(
url: url,
body: body,
headers: headers,
params: params,
retryPolicy: retryPolicy,
interceptors: interceptors,
).call();