Home >
Mobile > How retrofit2 form submission object?
How retrofit2 form submission object?
Because too many parameters, so I want to use entity object directly submit, I use the @ Body at the beginning, but @ Body in json, submitted the background only accept form (in fact, the background have to do is add a @ RequestBody notes, but I don't want to call him), and later changed to @ FieldMap, but @ FieldMap can only pass the Map, so retrofit2 is there any way to form submission object?