mirror of
https://github.com/ovh/php-ovh.git
synced 2023-11-05 03:20:26 +01:00
stop escaping forward slashes
This commit is contained in:
parent
2bf008605c
commit
7adabd3445
@ -256,7 +256,7 @@ class Api
|
|||||||
$request = $request->withUri($url);
|
$request = $request->withUri($url);
|
||||||
$body = "";
|
$body = "";
|
||||||
} elseif (isset($content)) {
|
} elseif (isset($content)) {
|
||||||
$body = json_encode($content);
|
$body = json_encode($content, JSON_UNESCAPED_SLASHES);
|
||||||
|
|
||||||
$request->getBody()->write($body);
|
$request->getBody()->write($body);
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user