post method
Future<Response>
post(
- String path, {
- dynamic body,
- ProcessResponseMethod? processResponseMethod,
- Map<String, String>? queryParameters,
- String? authority,
- Client? client,
- bool queryParametersReplace = false,
- bool? useJsonEncode,
- bool? useSSL,
})
Implementation
Future<http.Response> post(
String path, {
dynamic body,
ProcessResponseMethod? processResponseMethod,
Map<String, String>? queryParameters,
Map<String, String>? headers,
String? authority,
http.Client? client,
bool headersReplace = false,
bool queryParametersReplace = false,
bool? useJsonEncode,
bool? useSSL,
}) async {
return _method(
path: path,
body: body,
requestMethod: _post,
processResponseMethod: processResponseMethod,
queryParameters: queryParameters,
headers: headers,
authority: authority,
nameOfMethod: 'POST',
client: client,
headersReplace: headersReplace,
queryParametersReplace: queryParametersReplace,
useSSL: useSSL,
useJsonEncode: useJsonEncode ?? this.useJsonEncode,
);
}