We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f08bf8 commit c6eb4e2Copy full SHA for c6eb4e2
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