postAs<T> method
Future<T>
postAs<T>(
- String path,
- dynamic body, {
- Map<
String, dynamic> ? args, - T? responseAs,
- RequestFilter? requestFilter,
- ResponseFilter? responseFilter,
override
Implementation
Future<T> postAs<T>(String path, dynamic body,
{Map<String, dynamic>? args,
T? responseAs,
RequestFilter? requestFilter,
ResponseFilter? responseFilter}) {
return sendRequest<T>(SendContext(
method: "POST",
body: body,
url: toAbsoluteUrl(path),
args: args,
responseAs: responseAs,
requestFilter: requestFilter,
responseFilter: responseFilter));
}