mirror of
https://github.com/ovh/php-ovh.git
synced 2023-11-05 03:20:26 +01:00
Merge pull request #59 from MikeRoetgers/json_encode
Escaping forward slashes leads to 400 response
This commit is contained in:
commit
473feb2497
@ -256,7 +256,7 @@ class Api
|
||||
$request = $request->withUri($url);
|
||||
$body = "";
|
||||
} elseif (isset($content)) {
|
||||
$body = json_encode($content);
|
||||
$body = json_encode($content, JSON_UNESCAPED_SLASHES);
|
||||
|
||||
$request->getBody()->write($body);
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user