我將地圖數據作為 ArrayList 發布。所以我已經通過 Raw body 進行了嘗試。但我需要將其作為表單數據發布。我嘗試了很多方法,但沒有得到結果。如果有人知道解決方案,該怎么做。請給我解決方案。這是我的代碼親愛的。 @Id private String id; @Field(value = "name") private String name; @Field(value = "description") private String description; @Field(value = "attributes") private List<Map<String, String>> attributes = new ArrayList<Map<String, String>>(); this is what i am sending in Body Raw i want to post it by Form-Data { "name":"Fourth Template", "description":"covers most of selected attributes", "attributes": [ { "attributeId": "5d4284807748181cbc8a8277", "selectedDataSource": "collections" }, { "attributeId": "5d4284807748181cbc8a8277", "selectedDataSource": "paycom" }, { "attributeId": "5d4284807748181cbc8a8277", "selectedDataSource": "originations" } ] }
添加回答
舉報
0/150
提交
取消