我使用 Warden 全新安装了 magento 2.4.7-p2。我安装了示例数据。现在我想使用链接访问 graphql
https://app.demo.test/graphql
但我有错误。
{
"errors": [
{
"message": "Syntax Error: Unexpected <EOF>",
"locations": [
{
"line": 1,
"column": 1
}
],
"extensions": {
"file": "/var/www/html/vendor/webonyx/graphql-php/src/Language/Parser.php",
"line": 433
}
}
]
}
有什么解决办法吗?同样的错误发生在 2.4.7 上。之前不知道。版本。
这是正确的做法。因为身体已经空了。如果您使用某个客户端发出请求,则会显示响应。