exec Multipart Request

protected fun execMultipartRequest(endpoint: String, body: MultipartBody): JSONObject

Function 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