mirror of
https://codeberg.org/reflect/reflect-client-php.git
synced 2025-09-13 17:43:42 +02:00
fix: params not sent with http request
This commit is contained in:
parent
b33a0e4979
commit
71b736f02e
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Reference in a new issue