0

我很难使用 Hasura 内置的 GrpahQL 操作 UserInterface。所以我决定像以前一样使用 GrpahQL 操场。但是当我尝试访问确切的 graphql 端点时。操场上出现错误。

 Unexpected token p in JSON at position 4

我还在 HTTP 标头部分中放置了我的 Hasura 管理员密码。

{
  "x-hasura-admin-secret": "myadminsecretkey",
  "content-type": "application/json"
}

无法从 graphql 游乐场访问 Hasura 控制台

4

1 回答 1

1

Hasura 服务的 GraphQL 端点将在/v1/graphql.

所以在你的情况下,它会是http://localhost:9695/v1/graphql.

于 2021-01-15T11:59:25.527 回答