From 0110ac1c0434b0ea4e4e26468ed94eff22496311 Mon Sep 17 00:00:00 2001 From: Victor Westerlund Date: Tue, 2 Apr 2024 12:02:36 +0000 Subject: [PATCH] fix: params not sent with http requests (#9) --- src/Reflect/Client.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Reflect/Client.php b/src/Reflect/Client.php index 9759f00..ecb4c97 100644 --- a/src/Reflect/Client.php +++ b/src/Reflect/Client.php @@ -63,7 +63,7 @@ ] ]); - $resp = file_get_contents($this->base_url . $this->endpoint, false, $context); + $resp = file_get_contents(implode("", [$this->base_url, $this->endpoint, $this->params]), false, $context); // Get HTTP response code from $http_response_header which materializes out of thin air after file_get_contents(). // The first header line and second word will contain the status code.