post<T> static method
post请求
Implementation
static Future<T> post<T>(
String url, {
Options? options,
Object? data,
Map<String, dynamic>? queryParameters,
}) async {
return safeRequest<T>(
url,
options: options?.copyWith(method: 'POST') ?? Options(method: 'POST'),
data: data,
queryParameters: queryParameters,
);
}