简体   繁体   中英

connect to hasura console using graphql playground

I am having a difficult time using Hasura built-in GrpahQL manipulation UserInterface. so I decided to use the GrpahQL playground as I used to. but when I try to access the exact graphql endpoint. there is an error appears on the playground.

 Unexpected token p in JSON at position 4

I have also placed my Hasura admin secret in the HTTP headers section.

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

无法从 graphql playground 访问 Hasura 控制台

The GraphQL endpoint that Hasura serves would be available at /v1/graphql .

So in your case, it would be http://localhost:9695/v1/graphql .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM