From 7adabd3445c4c476c0ab2860662f74858f62f98b Mon Sep 17 00:00:00 2001 From: Mike Roetgers Date: Sat, 8 Apr 2017 17:43:19 +0200 Subject: [PATCH] stop escaping forward slashes --- src/Api.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Api.php b/src/Api.php index 54f5b47..3fdb0ff 100644 --- a/src/Api.php +++ b/src/Api.php @@ -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 {