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 requests (#9)
This commit is contained in:
parent
b33a0e4979
commit
0110ac1c04
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().
|
// 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.
|
// The first header line and second word will contain the status code.
|
||||||
|
|
Loading…
Add table
Reference in a new issue