Category "dio"

Access res.locals in Multer.diskStorage->filename

I'm working on a login, where the use consists of userImage, userName, userStatus (all send as form-data). To upload the userImage im using Multer. This is how

DioError [DioErrorType.RESPONSE]: Http status error [405]

I am creating a post request Using Dio, this is my FormData params, FormData formData = FormData.fromMap({ 'wallet_id': '${dropdownValue.walletId}',

Flutter Dio HTTPS Certificate Validation Ignoring onBadCertificate - CA Cert Problem?

I've run into a bit of a quandary. I'm writing a client/server application. The frontend is in Flutter and uses the Dio http package, the backend is Java. The b

Unhandled Exception: DioError PONSE]: Http status error [500]

I made FormData use the dio package to upload images to the database, but my compilation was running "flutter run", an error appeared. After I see the error th

Initialize Dio with persistent cookie at the start of the program

I'm using Dio in my app and I want it to save cookies. It turns out I have to download three additional packages to do that: cookie_jar, dio_cookie_manager and

DioError [DioErrorType.DEFAULT]: Converting object to an encodable object failed: Instance of 'FormData'

I'm new in Flutter. When i try to upload data to the server i faced some problems like: 1.NoSuchMethodError: The getter 'friendsList' was called on null 2.DioE