post method
Future<Response>
post(
- String path, {
- QueryMap? query,
- Object? body,
- Object? json,
- RequestOptions? options,
- ProgressCallback? onSendProgress,
- ProgressCallback? onReceiveProgress,
})
Implementation
Future<Response> post(
String path, {
QueryMap? query,
HeadersInit? headers,
Object? body,
Object? json,
RequestOptions? options,
ProgressCallback? onSendProgress,
ProgressCallback? onReceiveProgress,
}) {
return request(
'POST',
path,
query: query,
headers: headers,
body: body,
json: json,
options: options,
onSendProgress: onSendProgress,
onReceiveProgress: onReceiveProgress,
);
}