|
@@ -53,8 +53,8 @@ func (client *Client) InvokePostMethodJson(appID string, methodName string, json
|
|
|
return client.invokeMethodJson(appID, methodName, "post", jsonData)
|
|
|
}
|
|
|
|
|
|
-func (client *Client) InvokePostMethodMultipart(appID string, methodName string, data []byte) ([]byte, error) {
|
|
|
- return client.invokeMethodWithContentType(appID, methodName, "post", "multipart/form-data", data)
|
|
|
+func (client *Client) InvokePostMethodMultipart(appID string, methodName string, multipartContentType string, data []byte) ([]byte, error) {
|
|
|
+ return client.invokeMethodWithContentType(appID, methodName, "post", multipartContentType, data)
|
|
|
}
|
|
|
|
|
|
func (client *Client) InvokePutMethodJson(appID string, methodName string, jsonData []byte) ([]byte, error) {
|