Dulara Malindu
Dulara Malindu

Reputation: 1637

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"
}

can't access Hasura console from graphql playground

Upvotes: 1

Views: 540

Answers (1)

praveenweb
praveenweb

Reputation: 743

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

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

Upvotes: 1

Related Questions