rest-assured/src/main/java/io/restassured/builder/RequestSpecBuilder.java
public RequestSpecBuilder addMultiPart(String controlName, String contentBody) {
        spec.multiPart(controlName, contentBody);
        return this;
    }
public RequestSpecBuilder addMultiPart(String controlName, String contentBody) {
        spec.multiPart(controlName, contentBody);
        return this;
    }
public RequestSpecBuilder addMultiPart ( String controlName , String contentBody ) { spec . multiPart ( controlName , contentBody ) ; return this ; }
Specify a string to send to the server using multi-part form data.
It will use the content-type <tt>text/plain</tt>. If this is not what you want please use an overloaded method.

@param controlName Defines the control name of the body part. In HTML this is the attribute name of the input tag.
@param contentBody The string to send
@return The request specification
Specify a string to send to the server using multi - part form data . It will use the content - type <tt > text / plain< / tt > . If this is not what you want please use an overloaded method .