There was an error while loading. Please reload this page.
2 parents 0f08bf8 + c6eb4e2 commit e18f92eCopy full SHA for e18f92e
lib/HttpRequestGraphQL.php
@@ -52,6 +52,8 @@ protected static function prepareRequest($httpHeaders = array(), $data = array()
52
} else {
53
self::$postDataGraphQL = json_encode(['query' => $data]);
54
}
55
+
56
+ self::$httpHeaders['Content-Length'] = strlen(self::$postDataGraphQL);
57
58
59
/**
0 commit comments