exec Multipart Request

protected fun execMultipartRequest(endpoint: String, query: APIRequest.Params? = null, body: MultipartBody): JSONObject

Method to exec a multipart body request

Return

the result of the request as JSONObject

Parameters

endpoint

The endpoint path of the url

body

The body payload of the request