Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

ApolloClient

const client = new ApolloClient({
  uri: "https://yourapp.hasura.app/v1/graphql",
  cache: new InMemoryCache(),
  headers: {
    "content-type": "application/json",
    "x-hasura-admin-secret":
      "",
  },
});
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #ApolloClient
ADD COMMENT
Topic
Name
3+7 =