diff --git a/wsclient_rest/wsclient_rest.module b/wsclient_rest/wsclient_rest.module
index 7a1f156..5a9e723 100644
--- a/wsclient_rest/wsclient_rest.module
+++ b/wsclient_rest/wsclient_rest.module
@@ -73,8 +73,10 @@ class WSClientRESTEndpoint extends WSClientEndpoint {
     $type = isset($operation['type']) ? $operation['type'] : 'GET';
     $data = NULL;
     if (isset($operation['data'])) {
-      $data = $arguments[$operation['data']];
-      unset($arguments[$operation['data']]);
+      foreach ((array) $operation['data'] as $data_paramater) {
+        $data[$data_paramater] = $arguments[$data_paramater];
+        unset($arguments[$data_paramater]);
+      }
     }
     try {
       $response = $client->execute(new HttpClientRequest($this->service->url . $operation_url, array(
