-
Notifications
You must be signed in to change notification settings - Fork 22
Retrofit multipart form support #2
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
Comments
I think it should into the |
Hum strange as it's a post request not a get, that's why I was proposing AsMultipart like the AsJson already present |
That's right since it's a parameters it must be the same as |
Ok :) I'll dig into this then see if I'm able to make a PR thx |
It might need changes to jaguar_serializer too, as for multipart we need Map<String, String> not Map<String, dynamic>, so jaguar_serializer should be able to serialize for multipart. |
that should not be a problem for jaguar_serializer
|
in the example of retrofit the user model is also a Map<String, String> |
@jaumard
|
@kleak @tejainece the problem here is for example:
This will not cast to |
My current code for the multipart support generate this:
but this code give me |
Hey @tejainece what the plan for this, of course I want to try the lib and first call I need to implement (login) is in form data lol
Can you tell me the steps and I'll do a PR for this :)
Do we go for a
@AsFormData
annotation ?The text was updated successfully, but these errors were encountered: