silentworks
10/21/2021, 11:35 AMsilentworks
10/21/2021, 2:24 PMgaryaustin
10/21/2021, 2:28 PMGamalliel_Sharon
10/22/2021, 6:41 AMHarryET
10/22/2021, 7:51 AMGamalliel_Sharon
10/22/2021, 7:52 AMHarryET
10/22/2021, 7:54 AMGamalliel_Sharon
10/22/2021, 7:57 AMHarryET
10/22/2021, 7:59 AMGamalliel_Sharon
10/22/2021, 8:01 AMsockenguy
10/22/2021, 11:04 AMsockenguy
10/22/2021, 11:05 AMsilentworks
10/22/2021, 12:03 PMsilentworks
10/22/2021, 12:03 PMBiondi Bagasta Wiko Putra
10/22/2021, 2:43 PM"HTTP request failed, statusCode: 400, https://ojiuxsweoqbgmknpdrnw.supabase.co/storage/v1/object/public/bookimage/fxnTgRmbvA.png%0D%0A"
As u can see i got %0D%0A
extra string in the behind. IDK why this was happened. When i fetching with browser without this extra string, it was working.
My code :
Fetching image :
dart
String? getImageUrl(String data) {
var res = this._supabase.storage.from('bookimage').getPublicUrl(data);
print(res.data);
return res.data;
}
Widget Image :
dart
CircleAvatar(
radius: 50,
child: Image.network(this.controller.getImageUrl(this.controller.bookList[index]['image']) ?? ''),
)
Biondi Bagasta Wiko Putra
10/22/2021, 2:43 PMBiondi Bagasta Wiko Putra
10/22/2021, 3:38 PMcacheControl: '3600',
when uploading the image and in my IONIC project, it was working perfectly. IDK why in flutter it was throwing an error......silentworks
10/22/2021, 4:10 PMnw_matt
10/22/2021, 4:50 PMnw_matt
10/22/2021, 5:14 PMbdougie
10/22/2021, 11:35 PMgaryaustin
10/23/2021, 12:32 AMbdougie
10/23/2021, 4:26 AMymahmo
10/23/2021, 11:26 AMSophic
10/23/2021, 8:16 PMScott P
10/24/2021, 3:00 AMSophic
10/24/2021, 3:20 AMsockenguy
10/24/2021, 10:36 AMNine
10/24/2021, 12:49 PMHarryET
10/24/2021, 4:30 PM