How to send a Content-Type form-data request using rest assured?
问题 I need to invoke a form-data typed API using Rest Assured. Here is my code. private Map<String, String> getFormParamsMap() { Map<String, String> formParams = new HashMap<>(); formParams.put("creatorId", "Instructor1"); formParams.put("creatorPlatform", "Web"); formParams.put("creatoredSource", "File"); formParams.put("creatoredType", "Auto"); formParams.put("deckId", "5a605b472e02d86561172dad"); formParams.put("userId", "kind"); return formParams; } public void invoke() { response = given()