Correccion de datos GET en MULTIPART
This commit is contained in:
@@ -127,8 +127,7 @@ class WebApplication
|
|||||||
$uriTemp = trim($baseUrl) . trim($value->url);
|
$uriTemp = trim($baseUrl) . trim($value->url);
|
||||||
if (strpos($uriTemp, '?') !== false) {
|
if (strpos($uriTemp, '?') !== false) {
|
||||||
$dataGet = explode('?', $uriTemp);
|
$dataGet = explode('?', $uriTemp);
|
||||||
parse_str($dataGet[1], $get);
|
parse_str($dataGet[1], $_GET);
|
||||||
$_GET = array_merge($_GET, $get);
|
|
||||||
}
|
}
|
||||||
$inputExecute = (empty($value->data)) ? '' : json_encode($value->data);
|
$inputExecute = (empty($value->data)) ? '' : json_encode($value->data);
|
||||||
$this->responseMultipart[] = $this->dispatchApiRequest($uriTemp, $version, true, $inputExecute);
|
$this->responseMultipart[] = $this->dispatchApiRequest($uriTemp, $version, true, $inputExecute);
|
||||||
|
|||||||
Reference in New Issue
Block a user