-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dio request form cannot read by Laravel #2320
Labels
Comments
gioVerdiansyah
added
h: need triage
This issue needs to be categorized
s: bug
Something isn't working
labels
Nov 3, 2024
My api_client.dart
|
final response = await _apiClient.put(
ApiPath.updateProfile,
body: formData.toJson(),
); Are you using |
Please provide a minimal runnable reproducible example. |
AlexV525
added
i: no useful information
and removed
s: bug
Something isn't working
labels
Dec 16, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Package
dio
Version
5.7.0
Operating-System
Windows
Adapter
Default Dio
Output of
flutter doctor -v
Dart Version
3.1.5
Steps to Reproduce
List<PlatformFile>?
Well when I $request->all() is empty but when I $request->getContent() there is nothing
Expected Result
I expect the result of $request->all() to appear, so that it can be validated and processed by Laravel.
Actual Result
[2024-11-03 15:18:56] local.INFO: All request data:
[2024-11-03 15:18:56] local.INFO: Files:
[2024-11-03 15:18:56] local.INFO: Has file test: {"hasFile":false,"files":[]}
Tasks
The text was updated successfully, but these errors were encountered: