1
0
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:
Mike Roetgers 2017-04-08 17:43:19 +02:00
parent 2bf008605c
commit 7adabd3445

View File

@ -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 {