retrofit.dart icon indicating copy to clipboard operation
retrofit.dart copied to clipboard

add support for retrofit generator to generate RequestBody Stream<List<int>> from application/octet-stream with binary format declaration

Open arlakay opened this issue 2 years ago • 1 comments

Hi i'm using retrofit generator to generate API in flutter, but now it's not supporting for request type application/octet-stream with binary format. here my declaration: image but generator generate @Body() MultipartFile type instead of @Body() Stream<List<int** image

arlakay avatar May 11 '22 01:05 arlakay

Did you try @Body() List?

trevorwang avatar Jul 25 '22 15:07 trevorwang