opt: Request().post

This commit is contained in:
guozhigq
2024-10-03 21:28:12 +08:00
parent e949dd60ce
commit 4cac02a4c0
12 changed files with 151 additions and 137 deletions

View File

@ -260,7 +260,8 @@ class Request {
url,
data: data,
queryParameters: queryParameters,
options: options,
options:
options ?? Options(contentType: Headers.formUrlEncodedContentType),
cancelToken: cancelToken,
);
// print('post success: ${response.data}');