debug malformed
This commit is contained in:
@@ -58,6 +58,7 @@ class APIService<T extends SerializerDeserializer> {
|
|||||||
String url, String method, dynamic body, Options? options) async {
|
String url, String method, dynamic body, Options? options) async {
|
||||||
switch (method.toLowerCase()) {
|
switch (method.toLowerCase()) {
|
||||||
case 'get':
|
case 'get':
|
||||||
|
print(url);
|
||||||
return await _dio.get(url, options: options);
|
return await _dio.get(url, options: options);
|
||||||
case 'post':
|
case 'post':
|
||||||
return await _dio.post(url, data: body, options: options);
|
return await _dio.post(url, data: body, options: options);
|
||||||
|
|||||||
Reference in New Issue
Block a user